我知道我们可以通过这种方式将代码插入到顶部.
ed.selection.setCursorLocation(ed.getBody().firstChild,0);
但是,我不确定如何在底部的内容中实现这一点.
javascript tinymce
javascript ×1
tinymce ×1