We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
例如在编辑器中输入<div class="hlg_match">, editor.sync();操作后,结果变成 <div class=hlg_match> </div>,class 中的双引号丢失,这个问题从 kissy1.3开始就后了(造成除style的双引号还在,其他(例如width、class)的双引号都消失);
<div class="hlg_match">
editor.sync();
<div class=hlg_match> </div>
其他:kissy1.3中可以使用DOM.val('#editorEl textarea',editor.get("formatData"));来简单实现sync()的功能;但是 kissy1.4多了data配置项,不能再用editor.get("formatData")方法获取内容。
DOM.val('#editorEl textarea',editor.get("formatData"));
sync()
editor.get("formatData")
The text was updated successfully, but these errors were encountered:
双引号故意删的,减少代码大小 1.4.1 可以用 editor.getFormatData()
Sorry, something went wrong.
ok,谢谢
@yiminghe 是否过滤双引号,改成可配置项如何?默认过滤?
好的,下版本考虑,目前可手动取 getFormatData() ,不调用 sync
ok,赞
No branches or pull requests
例如在编辑器中输入
<div class="hlg_match">
,editor.sync();
操作后,结果变成<div class=hlg_match> </div>
,class 中的双引号丢失,这个问题从 kissy1.3开始就后了(造成除style的双引号还在,其他(例如width、class)的双引号都消失);其他:kissy1.3中可以使用
DOM.val('#editorEl textarea',editor.get("formatData"));
来简单实现sync()
的功能;但是 kissy1.4多了data配置项,不能再用editor.get("formatData")
方法获取内容。The text was updated successfully, but these errors were encountered: