var selection = editor.getSelection(); var bookmarks = selection.createBookmarks(true); // change / replace / delete text in editor var range = selection.getRanges()[0]; range.moveToBookmark(bookmarks[0]); range.select();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)