tinymce.editor.ui.Ui
This editor ui instance.
Summary
Properties
Name | Type | Summary | Defined by |
---|---|---|---|
registry |
Editor UI registry instance. |
||
styleSheetLoader |
Editor UI stylesheet loader instance. StyleSheetLoader for styles in the editor UI. For content styles, use editor.dom.styleSheetLoader. |
Methods
Name | Summary | Defined by |
---|---|---|
Hides the editor user interface for inline editors. This method affects all user interface elements, including: menu bar, toolbar, notifications, and dialogs. If the |
||
Determines if the editor user interface is |
||
Sets the state of editor user interface as |
||
Reveals the editor user interface for inline editors. This method affects all user interface elements, including: menu bar, toolbar, notifications, and dialogs. If the |
Methods
tinymce.editor.ui.hide()
tinymce.editor.ui.hide()
Hides the editor user interface for inline editors. This method affects all user interface elements, including: menu bar, toolbar, notifications, and dialogs.
If the toolbar_persist
option is set to true
and this method is used,
the user interface will remain hidden, regardless of focus.
tinymce.editor.ui.isEnabled()
tinymce.editor.ui.isEnabled(): Boolean
Determines if the editor user interface is enabled
(true
) or disabled
(false
).
tinymce.editor.ui.setEnabled()
tinymce.editor.ui.setEnabled(state: Boolean)
Sets the state of editor user interface as enabled
(true
) or disabled
(false
).
This method affects all user interface elements, including: menu bar,
toolbar, notifications, and dialogs. Can not be set to 'true' when in readonly mode.
tinymce.editor.ui.show()
tinymce.editor.ui.show()
Reveals the editor user interface for inline editors. This method affects all user interface elements, including: menu bar, toolbar, notifications, and dialogs.
If the toolbar_persist
option is set to true
and this method is used,
the user interface will remain visible, regardless of focus.