Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor eskapism

    (@eskapism)

    Yes that’s the problem. I hope to be able to fix this soon.

    Just to report; we are running into this issue as well, did what idowning mentioned as a stop-gap

    Thread Starter idowning

    (@idowning)

    Thanks for the update P?r Thernstr?m. Let me know if you need me to test something or if I can pitch in on some area of the code.

    Thanks.

    Plugin Contributor Angry Creative

    (@angrycreative)

    Can confirm that this is a problem for us, too. @samface can fix it, perhaps?

    Note: Why would the wp core team update to tinymce 4.x and still keep the iframe? the amount of senses it does not make.

    Plugin Contributor Sammy Nordstr?m

    (@samface)

    It’s an issue with TinyMCE, with WP 3.9 comes TinyMCE 4. The visual editor needs to be instantiated a bit differently. I fixed it in another project like this:

    // The old way of adding TinyMCE to a textarea:
    // tinyMCE.execCommand('mceAddControl', false, id); 
    
    // The new way:
    ed = new tinyMCE.Editor(id, tinyMCE.settings, tinyMCE.EditorManager);
    ed.render();

    Not sure of how applicable it is to Simple Fields (the sources have been refactored several times over since I worked on it), but hopefully it is of some help. ??

    Plugin Contributor Sammy Nordstr?m

    (@samface)

    We’re happy to report that the issue we had has now been resolved and that it was not caused by the Simple Fields plugin at all. In other words, disregard our bugreport. ??

    Sorry if we sent you on a wild goose chase.

    Plugin Contributor eskapism

    (@eskapism)

    Thanks for the update @samface! Good news for me in this case ??

    This could be a better approach:
    tinymce.EditorManager.execCommand('mceAddEditor', false, id);

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘3.9 HTML editor load script issue’ is closed to new replies.