`editor.replaceRange`を使う。 ```js editor.replaceRange(<文字列>, editor.getCursor("from")); ```