Class: EditingSupportManager

sync.api. EditingSupportManager


new EditingSupportManager()

The editing support manager that can be used to create an sync.api.EditingSupport for the current editor. It also contains methods to create built-in editing supports. To obtain the editing support manager use sync.api.Workspace.getEditingSupportManager
Since:
  • 21.1.1

Methods


getEditingSupportProviders()

Gets the registered (@link sync.api.EditingSupportProvider}.
Since:
  • 26.1.1
Returns:
The editing support providers.
Type
Array.<sync.api.EditingSupportProvider>

registerEditingSupportProvider(editingSupportProvider)

Register an (@link sync.api.EditingSupportProvider} that provides the possibility to impose a specific sync.api.EditingSupport to be used instead of the built-in one to render the content of the current editor, to set the actions, toolbars and views associated with it.
Parameters:
Name Type Description
editingSupportProvider sync.api.EditingSupportProvider The editing support provider.