MCPcopy Index your code
hub / github.com/cnodejs/nodeclub / epicEditorAppend

Function epicEditorAppend

public/javascripts/editor.js:96–98  ·  view source on GitHub ↗

* 向EpicEditor末尾增加内容 * * @param {EpicEditor} editor * @param {String} text * @return {String}

(editor, text)

Source from the content-addressed store, hash-verified

94 * @return {String}
95 */
96function epicEditorAppend (editor, text) {
97 return editor.getElement('editor').body.innerHTML += text;
98}
99
100/**
101 * 向EpicEditor前面增加内容

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected