diff --git a/editor/ui/composer/content/EditorCommands.js b/editor/ui/composer/content/EditorCommands.js index b606114d981c..db2b718ee252 100644 --- a/editor/ui/composer/content/EditorCommands.js +++ b/editor/ui/composer/content/EditorCommands.js @@ -334,10 +334,10 @@ function EditorGetHTML() } } -function EditorInsertText() +function EditorInsertText(textToInsert) { if (window.editorShell) { - window.editorShell.InsertText("Once more into the breach, dear friends.\n"); + window.editorShell.InsertText(textToInsert); } }