States
Summary
Element states
text
Currently selected contents as HTML. For this to work, element field 'Enable text selection trigger' needs to be enabled.
text
Currently selected contents as plain text. For this to work, element field 'Enable text selection trigger' needs to be enabled.
yes/no
Whether the editor content element has focus, such as when clicking inside the editor content.
yes/no
Whether the editor is dirty or not. It will get dirty if the user has made modifications to the contents. It will get not dirty when the 'html/text content' state is updated, autobinding value is published and 'content changed' event is triggered.
Element states
html content
Type: text
Current editor contents as HTML.
text content
Type: text
Current editor contents as plain text.
selected html
Type: text
Currently selected contents as HTML. For this to work, element field 'Enable text selection trigger' needs to be enabled.
selected text
Type: text
Currently selected contents as plain text. For this to work, element field 'Enable text selection trigger' needs to be enabled.
is focused
Type: yes/no
Whether the editor content element has focus, such as when clicking inside the editor content.
is dirty
Type: yes/no
Whether the editor is dirty or not. It will get dirty if the user has made modifications to the contents. It will get not dirty when the 'html/text content' state is updated, autobinding value is published and 'content changed' event is triggered.
Last updated