开发者

I want to disable a tinymce textbox

开发者 https://www.devze.com 2023-01-13 04:23 出处:网络
I开发者_JAVA百科 have a tinymce textbox which I want to disable and again enable on a button click through ASP.NET.

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

 

0

精彩评论

暂无评论...
验证码 换一张
取 消