Get the Active Editor Instance
Access the current or last active editor using textboxio.getActiveEditor()
. The active editor is the editor that was most recently focused by a user. If no editor has been focused, then the first editor on the page is returned.
Get Editor Instances
Textbox.io remembers the selector that was used to create each editor. A developer may retrieve editor instances by passing that selector to textboxio.get()
. Note, that this method returns an array of editors.