Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
EXTJs-在HTML编辑器中粘贴数据会在编辑器中插入一个空格_Extjs - Fatal编程技术网

EXTJs-在HTML编辑器中粘贴数据会在编辑器中插入一个空格

EXTJs-在HTML编辑器中粘贴数据会在编辑器中插入一个空格,extjs,Extjs,在Extjs中创建了一个HTML编辑器 { xtype: 'htmleditor', fieldLabel: 'Description', name: 'description', width: 600, height: 200, grow: true

在Extjs中创建了一个HTML编辑器

   {
                    xtype: 'htmleditor',
                    fieldLabel: 'Description',
                    name: 'description',
                    width: 600,
                    height: 200,

                    grow: true
                },
当我从任何HTML网站/网页复制文本时,它会在代码中插入一个空行,如下所示(从Chrome->Insert元素中看到):

从HTML页面粘贴此文本
这会中断代码,只要我们点击“另存为草稿”按钮,面板中的标题就会被删除。
救命啊

你能为这个问题提供一个解决方案吗?我会帮你解决的it@Scriptable添加了Code@Scriptable Use Ext JS 4.2.1.883 Classic只要我将一些文本复制并粘贴到HTML编辑器中,然后单击Source editor,它就会显示一个附加的“”,这会杀死我的数据库
<pre class="bz_comment_text" id="comment_text_0" style="font-size: medium; white-space: pre-wrap; width: 50em;">Pasted this text from from HTML PAGe</pre>