ueditor 赋值 取值(亲测有效)

深碍√TFBOYSˉ_ 2022-05-29 11:47 701阅读 0赞
  1. var ue = UE.getEditor('editor');
  2. // editor准备好之后才可以使用
  3. ue.addListener("ready", function () {
  4. //赋值
  5. ue.setContent("要传入的值");
  6. //取值
  7. var content = ue.getContent();
  8. });

发表评论

表情:
评论列表 (有 0 条评论,701人围观)

还没有评论,来说两句吧...

相关阅读