core: set state in value during gadget_editor.getContent
To be consistent with what the underlying gadget does. This is needed if we want this snippet to empty the editor: // user type something in editor gadget.getContent().then(content => {gadget.changeState({value: ''})}) otherwise the state's value is considered to be still "" and this changeState does nothing.
Showing
Please register or sign in to comment