66C4E15395B4454E8382790CEF3B024E
  • Thomas Pollinger
  • 08.01.2018
  • DE/EN

ckEditor 4.7: Your browser doesn't allow you to paste this way. Press Ctrl+V to paste.

Mit dem Release 16.0 Service Pack 2 wurde auch der neue ckEditor 4.7 im dem Management Server ausgeliefert. Zu dieser ckEditor Version gibt es eine wichtige Sache zu beachten, denn es gab eine Änderung beim Verhalten der Funktion [CRTL/STRG] + [V]. Hier der Auszug aus den Kommentaren von der ckEditor Webseite zum Ticket #469:

Your browser doesn't allow you to paste this way. Press Ctrl+V to paste. #469 

Issue
Copy plain text to clipboard
Using CKEditor, try to paste using "Paste" option after mouse right click or using editor's "Paste" options

Expected result
Text is pasted normally.

Actual result
Message "Your browser doesn't allow you to paste this way. Press Ctrl+V to paste." is showed.

Other details
Browser: Google Chrome 58, Mozilla Firefox 51, Microsoft Edge 38
OS: MS Windows 10 64 bits
CKEditor version: 4.7.0 (this issue was not showed in 4.6.2 version)
Installed CKEditor plugins: Copy Formatting, Paste from Word, Paste from Excel


Answer
mlewand commented on Jun 5 • edited
This is actually working by design. With 4.7.0 release we decided to finally drop our good old Paste dialog to simplify pasting process as much as possible.

Ideally we'd like the browser to just paste and that's it - however, due the security reasons, modern browsers do not expose any means to paste other than using native ways, so:

Platform specific hotkey ctrl/cmd + v
Native context menu

Will trigger paste, but the website can not initiate it on it's own.

The exception here would be Internet Explorer family, as it supports triggering paste command which we use.

So in short this is as close as it gets, and we're unable to push it further. As soon as browser provides APIs for us to trigger the paste, we're happy to utilize that.


Daher bitte beachten und nicht wundern, wenn es entsprechende Rückmeldung seitens der Anwender gibt ;)


Über den Autor:
Thomas Pollinger

... ist Senior Site Reliability Engineer bei der Vodafone GmbH in Düsseldorf. Seit dem Jahr 2007 betreut er zusammen mit seinen Kollegen die OpenText- (vormals RedDot-) Plattform Web Site Management für die deutsche Konzernzentrale.

Er entwickelt Erweiterungen in Form von Plug-Ins und PowerShell Skripten. Seit den Anfängen in 2001 (RedDot CMS 4.0) kennt er sich speziell mit der Arbeitweise und den Funktionen des Management Server aus.