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
getHtml() 保存进数据库中 取出来setHtml()赋值进去, table 中的样式比如单元格的颜色样式会丢失
和设置完 的 编辑器内容 样式一致
wangEditor-next 最新版本 vue2
在线demo 没有尝试的地方
[复现步骤]
基础配置,mouth()方法里初始化 编辑器值 测试值 // 该值为 getHtml获取 String content ='
姓名:{name} ,年龄:{number}
this.editor.setHtml (content)
The text was updated successfully, but these errors were encountered:
<th colspan="1" rowspan="1" width="auto" style="text-align: center; background-color: rgb(245, 219, 77);">
Sorry, something went wrong.
word文档如下:问题描述.docx
沙盒可复现,直接赋值即可,这个值是getHtml获取的 ,网络问题有时候登录不了,如图:
No branches or pull requests
bug 描述
getHtml() 保存进数据库中 取出来setHtml()赋值进去, table 中的样式比如单元格的颜色样式会丢失
你预期的样子是?
和设置完 的 编辑器内容 样式一致
系统和浏览器及版本号
wangEditor-next 版本
wangEditor-next 最新版本 vue2
demo 能否复现该 bug ?
在线demo 没有尝试的地方
在线 demo
最小成本的复现步骤
[复现步骤]
基础配置,mouth()方法里初始化 编辑器值
测试值
// 该值为 getHtml获取
String content ='
姓名:{name} ,年龄:{number}
'this.editor.setHtml (content)
会发现 名称那个单元格设置的 background-color: rgb(245, 219, 77); 这个样式 会丢失!
The text was updated successfully, but these errors were encountered: