Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm using WYSIWYG with the CKeditor (library). For some reason, the ckeditor is getting triggered on the Paste from Clipboard field. It gets in the way / can't be used like that. This is true in all browsers I've tested it in. Chrome, IE and firefox.
Comment | File | Size | Author |
---|---|---|---|
#1 | StuckCKeditor.png | 69.02 KB | zabelc |
pastefromclip.JPG | 26.48 KB | Pepper |
Comments
Comment #1
zabelc CreditAttribution: zabelc commentedI have my node body field set to use a rich text editor (either CKEditor, or TinyMCE); and I'm seeing the exact same thing. This happens even if I switch the text format to use TinyMCE, or even plain text.
However (and this is very strange), you can get your clipboard image to upload by hitting Ctrl+v twice. Unfortunately, after pasting the file, the CKEditor toolbar doesn't go away, rather it just hangs in space just to the left of where the text box was.
Comment #2
sinasalek CreditAttribution: sinasalek commentedIt's because of contenteditable attribute set for paste area.
And modern editors automatically hook into this attribute
A quick workaround to disable it completely :
Also for excluding some items from inline editing by wysiwyg there is a ckeditor plugin :
http://stackoverflow.com/a/11370552/1726778
Another issue created against wysiwyg module
#2372091: wysiwyg for all contenteditable element causes problem