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.

CommentFileSizeAuthor
#1 StuckCKeditor.png69.02 KBzabelc
pastefromclip.JPG26.48 KBPepper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zabelc’s picture

FileSize
69.02 KB

I 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.

sinasalek’s picture

Issue summary: View changes

It's because of contenteditable attribute set for paste area.
And modern editors automatically hook into this attribute
A quick workaround to disable it completely :

(function ($) {
    //$('.filefield-source-clipboard .filefield-source-clipboard-capture').CKEditor.disableAutoInline = true;
    $(document).ready(function () {
        CKEDITOR.disableAutoInline = true;
    });
})(jQuery);

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