开发者

Something strange with htmleditor

开发者 https://www.devze.com 2023-03-07 10:28 出处:网络
some problem with htmleditor my code: xtype: \'htmleditor\', just simple write and i have got thi开发者_如何学Pythons :

some problem with htmleditor

my code:

xtype           : 'htmleditor', 

just simple write and i have got thi开发者_如何学Pythons :

LINK -> http://i.stack.imgur.com/NmUjl.png

ALL HTMLEDITOR is non-clickable. What you can advise me?


Have you initialized your quick tips? If you don't initialize you get issues with html editor buttons.

Initialize the quicktips before you create your form or best in your onReady method.

 Ext.QuickTips.init();


This applies to ExtJS 5.1 but have not tried with other versions.

With Chrome, after you have set the value of the html editor using form.loadRecord() I found you have to explicitly call editor.setReadOnly(false); to make it editable again.

Also if you get an error e.g. Uncaught TypeError: Cannot call method 'match' of null then try my suggested fix here https://www.sencha.com/forum/showthread.php?264418-HtmlEditor-error-in-Chrome&p=1129716#post1129716

0

精彩评论

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