Images (media markup) are not being inserted into CKEditor.

Steps I take:

  1. Place the mouse cursor in the article body
  2. Click the Media icon on the CKEditor toolbar
  3. Click "Library" and select an image
  4. Click "Submit"
  5. Leave the display formatter at Default, and click "Submit"

I am returned to the editing interface, but there is no image at the mouse cursor.

Comments

Devin Carlson’s picture

Component: Media Browser » Media WYSIWYG
Status: Active » Postponed (maintainer needs more info)

What modules and libraries are you using for WYSIWYG support?

brylie’s picture

I am using the following:

  • CKEdit 7.x-1.13
  • CKEditor 4.3.4
rozh’s picture

Try to add "config.allowedContent = true;" string in Custom JavaScript configuration. There is "Advanced options" fieldset at the very bottom of settings page
[yoursite]/admin/config/content/ckeditor/edit/[Full] (replace [Full] with your CKEditor profile).

edubacco’s picture

I'm using the wysiwyg module with ckeditor 4.4.1 plugin and I have exactly the same issue, doing exactly the same steps described atop.
If i click to source button, i can see that it's insered just this text:
<!--MEDIA-WRAPPER-START-3--><!--MEDIA-WRAPPER-END-3-->.
This happens only with image file type, with image display enalbed and selected. Other displays (Download link, Generic file, etc.) work fine.

edubacco’s picture

Category: Support request » Bug report
Status: Postponed (maintainer needs more info) » Active
edubacco’s picture

Solution proposed in #3 works for me.
To add custom javascript I created a new module, as described here: http://fuseinteractive.ca/blog/wysiwyg-module-ckeditor-taming-beast .
This because the config.js file in ckeditor library is ignored by wysiwyg module.

mrmeech’s picture

Status: Active » Closed (works as designed)
lunk rat’s picture

Version: 7.x-2.0-alpha3 » 7.x-1.4

I'm on 7.x-1.4 and I am seeing a similar issue. In my case I can't click "submit" (clicking this does nothing at all). I can only click cancel.

I'm using media 7.x-1.4 and ckeditor 7.x-1.16

lunk rat’s picture

my issue was related to jquery_update and using my frontend theme for creating and editing content. https://www.drupal.org/node/2256389