Can init editor ie




















However, if you want Redactor to apply its CSS styles for content, call it with the styles: true option. Look at the example. Documentation Initialization. Redactor has been tested in and fully supports following browsers: Latest Chrome desktop and mobile Latest Firefox desktop only Latest Safari desktop and mobile Latest Opera webkit Internet Explorer 11 Microsoft Edge Quick start Redactor's installation has several steps.

For those who like to do everything logically, take a seat and read further. First, place redactor. Load via data attribute Redactor can be called automatically by specifying the data attribute data-redactor for the HTML element. You can also use tinymce. The other option and the one I would recommend is to create a "default" init object as a JavaScript variable on your page and then reference that later.

For example:. If you are not using jQuery you can write your own object cloning method instead of using extend - search SO and you will find many examples. You don't need a deep copy for a typical init so a shallow copy algorithm should suffice. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 5 years, 6 months ago. Active 3 years, 4 months ago.

Viewed 3k times. Improve this question. MarcinWolny MarcinWolny 1, 2 2 gold badges 24 24 silver badges 39 39 bronze badges. Add a comment. I found that the problem only existed, in IE, when I tried to set the height and width. Except, now I get a JS error for the save button:. Active topics Unanswered topics.

Login or Register. Version: 4. IE: can't access editor instance functions Pages 1. RSS topic feed Posts [ 7 ]. Topic: IE: can't access editor instance functions im trying to initialize an editor's content the moment the page is loaded. Re: IE: can't access editor instance functions As a matter of fact, I was trying to do the exact same thing with execCommand using mceFocus and mceInsertContent and could not get it to work.



0コメント

  • 1000 / 1000