Developer Forum »
TinyMCE editor (visit) does not work in IE11 + one problem with settings
62 posts

I have two problems with the editor that I use in the visitors page.

1. The editor is "disabled" in IE11 (you have the same problem in this forum). Update? http://www.tinymce.com/develop/bugtracker_view.php?id=6307

2. I want to remove "image" icon from the editor's toolbar.

EditorSettings settings = new EditorSettings();
settings.AddSetting("theme_advanced_buttons1", "bold,italic,underline,separator,bullist,numlist,undo,redo");

Then, I get two annoying popup-warnings; 

error WAFFileFolderPropertyId
error WAFDialogueOptions

(and I think they come from the javascript ClientScripts\HtmlEditorVisit.js)

 

181 posts

Hi!

Thanks for the feedback. We'll look into this today. We'll probably release a new build on monday with a fix.

 

Vidar

181 posts

We've looked into this:

IE11 issue:

The version of TinyMCE used in the visit editor has a couple of incompability issues with IE11. We're in the progress of upgrading to TinyMCE 4, so we won't spend any time on upgrading the existing version to a newer 3.x version until then.

As a temporary fix, you can make it work by adding a meta tag to the page:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE10">

This makes IE11 emulate IE10, and makes IE11 work with the editor. Not an ideal fix, but the real fix will come shortly with TinyMCE 4.

Custom editorsettings

The reason for the error message is that the wafinsertimage plugin is loaded, but not the button. This causes some of the code to be loaded, but not all. 

The fix:

protected override void OnInit(EventArgs e) {
        EditorSettings settings = new EditorSettings();
        settings.AddSetting("theme_advanced_buttons1", "bold,italic,underline,separator,bullist,numlist,undo,redo");
        settings.AddSetting("plugins", "inlinepopups");
        editorContent.EditorSettings = settings;
        base.OnInit(e);
    }
62 posts

Excellent!

1