Editor Class Reference Page
This page features the following example code:
// get the currently selected text
let text = editor.getSelectedText()
// replace selected text with uppercased version
editor.setSelectedText(text.toUppercase())
There is a typo; text.toUppercase() is called when it should be text.toUpperCase(). Sorry if this is the wrong place to submit this.
Editor Class Reference Page
This page features the following example code:
There is a typo;
text.toUppercase()is called when it should betext.toUpperCase(). Sorry if this is the wrong place to submit this.