layui rich text editor layedit

 

 The figure is an official document, and I saw a few times, did not find something assignment

 

layedit assignment follows
/ **
* Set the content editor
* @param {[type]} index editor index
* @param {[type]} to set the content content
* @param {[type]} whether the append mode flag
* /
layedit.setContent (index, Content, flag);
In Flag is true, is append mode,
In Flag is false, the assignment pattern

Guess you like

Origin www.cnblogs.com/CuiRicky/p/12014190.html