但是当我选择编号列表或子d列表进行打字时,我按下输入键盘.好像
我觉得那样
1. first2. second3. third
当我专注于第三.我按下没有编号.我觉得那样
1. first 2. secondthird
但所有的话都不会被编号
如何解决这个问题.非常感谢
升级到4.2.x将解决HTMLeditor的问题.
您的代码应该更好地格式化.您还应该使用适当的ExtJs方法来获取项目,即:
Ext.create('Ext.form.Panel',{ // should be using Ext.create(),not new Title: 'HTML Editor',wIDth: 500,bodypadding: 10,renderTo: Ext.getbody(),items: [{ xtype: 'HTMLeditor',name: 'editor',enablecolors: true,enableAlignments: false,enableLists: true,enableSourceEdit: false,anchor: '100%' }],dockedItems: [{ xtype: 'toolbar',items: [{ xtype: 'button',text: 'Get HTML',handler: function(btn) { // example of getting all form values console.log(btn.up('form').getForm().getValues()); // proper example of getting by component alert(btn.up('form').down('HTMLeditor').getValue()); } }] }]});总结
以上是内存溢出为你收集整理的Extjs HtmlEditor – 编号列表和项目符号列表全部内容,希望文章能够帮你解决Extjs HtmlEditor – 编号列表和项目符号列表所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)