Showing
1 changed file
with
2 additions
and
2 deletions
@@ -841,8 +841,8 @@ | @@ -841,8 +841,8 @@ | ||
841 | //对编辑器的操作最好在编辑器ready之后再做 | 841 | //对编辑器的操作最好在编辑器ready之后再做 |
842 | ue.ready(function() { | 842 | ue.ready(function() { |
843 | //设置编辑器的内容 | 843 | //设置编辑器的内容 |
844 | - // ue.setContent(); | ||
845 | - ue.execCommand('inserthtml',handleGoodsAfterEdit(data.articleContent)); | 844 | + ue.setContent(handleGoodsAfterEdit(data.articleContent)); |
845 | + // ue.execCommand('inserthtml',handleGoodsAfterEdit(data.articleContent)); | ||
846 | }); | 846 | }); |
847 | $("#title").textbox("setValue",data.articleTitle); | 847 | $("#title").textbox("setValue",data.articleTitle); |
848 | $("#subtitle").textbox("setValue",data.articleSubtitle); | 848 | $("#subtitle").textbox("setValue",data.articleSubtitle); |
-
Please register or login to post a comment