editor.getSelectedText()
Returns the selected plain text.
Syntax
            editor.getSelectedText()
        
Return value
Type: String 
The selected plain text.
Returns the selected plain text.
            editor.getSelectedText()
        
Type: String 
The selected plain text.