cleditor comes up disabled
cleditor comes up disabled
我正在使用"CLEditor 所见即所得的HTML编辑器v1.4.5"
当我打开包含与 clEditor 一起使用的 TextArea 元素的窗口时,编辑器出现禁用状态,并且 TextArea 元素似乎不可见。 我在文本区域元素中有文本,但文本是不可见的。
如果我右键单击文本区域的正文并选择"检查元素",调试器窗口将打开,编辑器将启用,文本区域变得可见。然后我关闭调试器窗口,一切似乎都正常运行。
.HTML:
<div id="maintBody">
<textarea id="woEditor" name="woEditor">This is the test data... is this editable?</textarea>
</div>
爪哇语
$("#woEditor").cleditor( {height: "400"});
没有 CSS
如果我注释掉 Javascript .cleditor() 调用,则 TextArea 元素会出现并正常运行。因此,编辑器初始化中肯定有一些设置正在设置此状态。
您可以在以下位置访问此页面: http://test.nds.link 然后单击左栏中的"道具"选项卡
有谁知道什么会导致 clEditor 处于禁用状态,使 TextArea 元素不可见?
我在通过
jQuery切换的DIV中使用CLEditor时遇到了同样的错误。
动画参数导致错误!我删除它后,它就像一个魅力!
错误的方式:
$("#cT_new_form").toggle("slide",700);
正确的方式:
$("#cT_new_form").toggle(700);
因此,请勿使用"幻灯片"作为动画,否则 CLEditor 在幻灯片后不会聚焦!!
以下内容为我解决了此问题,而无需删除效果:CL编辑器问题与 jQuery UI 效果()?
相关文章:
- ng disabled在chrome中不起作用.按钮在角度上未禁用
- KeyPress和Keydown在这个特定的代码上不起作用.只有key-up起作用
- 角度Js ng-disabled不起作用
- ng disabled在放入多个表达式时失败
- Fancybox iFrame not showing up
- 在ng repeat中使ng disabled为true
- 在key up函数上将文本框值传递给javascript
- IE11没有'我不想把重点放在“disabled”元素上
- 当在一个表单中进行更改时,ng-disabled 会触发所有表单验证
- Backbone.js Visual Studio set up
- new Date('2011-12-15 00:00:00') is showing up as NaN
- KnockoutJS Required/Disabled属性未删除
- 取消以前的Jquery Form Submit on Key Up
- Is:对于on事件处理程序,not(.disabled)始终是必需的
- Speeding up JavaScript
- .val() rounding up?
- using `@using (html.beginform())` JavaScript is Disabled?
- setInterval Speed Up | Javascript
- JS/JQuery更改类和SlideDown/Up
- cleditor comes up disabled