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