• first of all let me say that its a great plugin.

    but there is a problem with it that broke my layout in frontend. i found out that the reason are the special tags added by tinymce. normally they are cleaned up when clicking the save button, so that the content is saved without them.

    to do that the getContent() function of tinymce is called. this works fine for the main content. but you do not use this function when switching between the blocks.

    the problem can be solved pretty simple. just change line 80 (in version 0.9.8.3) of multiedit.js from
    return jQuery(iframeRef).contents().find('body').html();
    to
    return tinyMCE.activeEditor.getContent();

    in an earlier topic some users reported a problem with video. i did not test it but i think this should also be solved by this solution. i’m not a wordpress developer, so i can’t say if that is the best solution but for me it works.

    hope it helps!

    https://www.ads-software.com/plugins/pagely-multiedit/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thank you for sharing this! It fixed an issue I was having with the gallery shortcodes and embedding video.

    Thank you! Thank you!

    This worked for me. I am fortunate to have come across this solution. Thanks again rado.at for sharing your solution.

    I hope Page.ly will update this solution in their next release.

    Thread Starter rado.at

    (@radoat)

    Thanks for your replies. My pleasure.

    Regsitered just to thank you for this. It solved my problem where I could not embed a video, because when content was displayed it was gibberish that looked a bit like it was trying to show editable video from admin panel (there were buttons to edit and delete video visible but not active and so on). After applying this change and resaving the post, the video works perfectly. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘change request : TinyMCE cleanup’ is closed to new replies.