I want to disable a tinymce textbox
I开发者_JAVA百科 have a tinymce textbox which I want to disable and again enable on a button click through ASP.NET.
When it is disabled it should be read only.
Have a look at this thread of the tinymce forum. This might be helpfull.
tinymce.activeEditor.getBody().setAttribute('contenteditable', 'Disable');
See also Enable Disable (Readonly) TinyMCE Editor using JavaScript or Server Side
精彩评论