Editor Context
An umbrella interface containing all the useful properties and functions of the current editor: Following can be found:
Properties that were provided when calling the Editor composable.
Engine, EditorEventHandler and Activity of the current editor.
CoroutineScope of the current editor.
Collectable EditorState of the editor.
Inheritors
Properties
The configuration of the current editor.
The coroutine scope that is always alive while editor is running. It also survives configuration changes.
The current language code derived from the Activity's configuration (e.g., "en", "de").
The event handler of the current editor.
The state flow of the EditorState.
Functions
MutableState provider for storing custom content in the editor scope. All state values will survive configuration changes and will be available until exiting the editor.