wysiwyg.module + CKEditor 3.6.6.1: Works
wysiwyg.module + CKEditor 4.0.3: Works, see: #2067325-3: [META] Tracking WYSIWYG compatibility
wysiwyg.module + CKeditor 4.1.3: Does not work, see: #2067325-2: [META] Tracking WYSIWYG compatibility
wysiwyg.module + CKeditor 4.2: Does not work, see: #2067325-1: [META] Tracking WYSIWYG compatibility
wysiwyg.module + TinyMCE 3.5.8: Works, see #2067325-6: [META] Tracking WYSIWYG compatibility
wysiwyg.module + TinyMCE 4.0.3: Does not work, see #2067325-6: [META] Tracking WYSIWYG compatibility
ckeditor.module 3.6.6.1: Works with #1504696-55: Integration with CKEditor module
ckeditor.module 4.0.3: Works with #1504696-55: Integration with CKEditor module
ckeditor.module 4.1.3: Works with #1504696-55: Integration with CKEditor module
ckeditor.module 4.2: Works with #1504696-55: Integration with CKEditor module
ckeditor.module 4.3: CKEditor widgets: works with #1504696-55: Integration with CKEditor module

Related issues

#2067873: The image 'Teaser' file display linking to Content causes issues when being used in WYSIWYG
#2067063: Wysiwyg integration is broken
#2079917: Inserting multiple media objects into one WYSIWYG field breaks the previous one

Comments

saltednut’s picture

Issue summary: View changes

works in ckeditor 4.2

saltednut’s picture

Issue summary: View changes

Updated issue summary.

saltednut’s picture

Issue summary: View changes

working with 4.1.3

saltednut’s picture

saltednut’s picture

Issue summary: View changes

ckeditor.module w/ 4.03 library working

saltednut’s picture

Issue summary: View changes

Updated issue summary.

saltednut’s picture

Issue summary: View changes

test for 4.1.3 added

saltednut’s picture

Issue summary: View changes

tests for WYSIWYG with CKEditor 4.0.3 updated

saltednut’s picture

Tests with wysiwyg.module and CKeditor library 4.2 and wysiwyg.module show the embed code being inserted into the source, but embed does not show in WYSIWYG.
- Saving node with the WYSIWYG turned off shows the rendered media correctly on node view.
- Returning to the node to edit it shows no media embed in the WYSIWYG and the embed code is stripped from the source.

saltednut’s picture

Tests with wysiwyg.module and CKeditor library 4.1.3 show the same results at 4.2 mentioned in #1

saltednut’s picture

Tests with wysiwyg.module and CKeditor library 4.0.3 show the media insert working as expected!

saltednut’s picture

Tests with ckeditor.module and CKEditor library 3.6.6.1, 4.0.3, 4.1.3 and 4.2 are working with patch from #1504696-55: Integration with CKEditor module

das-peter’s picture

#1 is likely because #1956778: Ckeditor 4.1 ACF - this also affects TinyMCE 4

saltednut’s picture

Issue summary: View changes

formatting fix

saltednut’s picture

Issue summary: View changes

add tinymce tests

saltednut’s picture

Issue summary: View changes

formatting

saltednut’s picture

Tests with wysiwyg.module and TinyMCE version 4.0.3 are inconclusive as WYSIWYG has not been updated to support this version of the library. See: #1968318: Support for TinyMCE 4.x

Tests with wysiwyg.module and TinyMCE version 3.5.8 show the media insert working as expected.

willyk’s picture

FWIW, I tested this too and got it working with all 3 versions of CKE as well.

padma28’s picture

DOCUMENTATION for integration of media with wysiwyg

Integration is working very well wysiwyg.module. Will be useful to link http://alligatorsneeze.com/image-uploads-using-wysiwyg-and-media-drupal-7-0 for documentation on integration of media with wysiwyg,

TwoD’s picture

Is anyone actually having any issues with Media in TinyMCE 4? I can no longer reproduce the issues I had with the media placeholder getting filtered out.

bneil’s picture

In testing a fresh install of the media_dev install profile, I've noticed a few issues with wysiwg module + ckeditor 3.6.6.1:

When I do a new embed, I noticed that it puts in the following token markup:
[[{"fid":"1","view_mode":"teaser","fields":{"format":"teaser","field_file_image_alt_text[und][0][value]":"woo alt","field_file_image_title_text[und][0][value]":"woo title","media_description[und][0][value]":""},"type":"media","attributes":{}}]]<!--MEDIA-WRAPPER-END-1-->
Is there supposed to be a <!--MEDIA-WRAPPER-START-1-->? If so, am I missing something?

bneil’s picture

wysiwyg.module + CKEditor 3.6.6.1 with new Drupal install and the latest file entity/media modules:
When creating a new image embed using the default or preview view modes, the embed works correctly and reselecting the image highlights the Add media button correctly. When clicked, it opens the edit media form.

However, if at any time (initial embed or editing an embed) I choose the teaser display, save the embed, and reselect the image, the Add media button is no longer selected and clicking it bring up the Upload interface, instead of the edit form.

Taking a look at the media token, it has added a second !--MEDIA-WRAPPER-END-1--> comment.
<p>[[{"fid":"1","view_mode":"teaser","fields":{"format":"teaser","field_file_image_alt_text[und][0][value]":"alt","field_file_image_title_text[und][0][value]":"title"},"type":"media","attributes":{}}]]<!--MEDIA-WRAPPER-END-1--><!--MEDIA-WRAPPER-END-1--></p>

If I select the image and delete it, both the comments are still in the WYSIWYG: <p><!--MEDIA-WRAPPER-END-1--><!--MEDIA-WRAPPER-END-1--></p>

If, at any time you want me to recreate these as individual issues, I'd be more than happy to.

bneil’s picture

Followup for comment #11:
I noticed that on File Types > Image > Manage File Displays, for the Image display settings, the "Link image to" field was set to Content instead of Nothing, like the other view modes. Setting it to nothing and then testing the embeds again the Add media button is highlighted when selecting the image and the edit form opens in the modal. So this leads me to believe the button and media wrapper issues are related to how the link is being handled.

Setting the link to File results in the same issue.

bneil’s picture

bneil’s picture

Issue summary: View changes

wrong comment #

bneil’s picture

Issue summary: View changes

Added related issues

das-peter’s picture

Issue summary: View changes

Added new CKEditor version 4.3.

mstef’s picture

Wysiwyg-dev and Media-2-dev with CKeditor 4.1.2 does not work at all. If you save the node or switch the editor on/off, it changes to 'false'.

DamienMcKenna’s picture

Title: [META] Tracking WYSIWYG compatability » [META] Tracking WYSIWYG compatibility
Component: WYSIWYG integration » Code
Issue summary: View changes

Fixed a typoo in the title.

marcusx’s picture

Is there an update on the version / patch requirements? Is there a working combination for CKeditor 4.4.x ? With CKeditor Module and Media dev?

saltednut’s picture

Chris Matthews’s picture

Status: Active » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team