Highlight
Shared by Piotr Magdziak
Highlight selected text
Script
var SelectedText = editor.getSelectedText(); //get selected text
SelectedText = "<mark>"+SelectedText+ "</mark>";
editor.replaceSelection(SelectedText);
Shared by Piotr Magdziak
Highlight selected text
var SelectedText = editor.getSelectedText(); //get selected text
SelectedText = "<mark>"+SelectedText+ "</mark>";
editor.replaceSelection(SelectedText);