getEditState

returns info about active editor object

object getEditState();
objectobject with editors state and info

Example

var editor = view.getEditState();

Details

If there are many active objects - returns info about last opened editor

Editor object

{ node: html_node_of_editor, value: initial_value_of_editor config: configuration_of_editor }

You can access all methods of editor through this object

//get value var value = some.getEditState().getValue(); //set value some.getEditState().setValue( new_value ); //set focus some.getEditState().focus();
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.