A hook event that fires whenever a ProseMirror editor is created.
The hook provides the ProseMirror instance UUID, a list of plugins, and an object containing the provisional
editor state, and a reference to the menu plugin.
Hooked functions may append their own plugins or replace the state or menu plugin by replacing their references
in the final argument.
createProseMirrorEditor
Parameters
uuid: string
A UUID that uniquely identifies this ProseMirror instance.
plugins: Record<string, Plugin>
A list of plugins that will be loaded.
options: { state: EditorState; }
The provisional EditorState and ProseMirrorMenuPlugin.
A hook event that fires whenever a ProseMirror editor is created. The hook provides the ProseMirror instance UUID, a list of plugins, and an object containing the provisional editor state, and a reference to the menu plugin. Hooked functions may append their own plugins or replace the state or menu plugin by replacing their references in the final argument.
createProseMirrorEditor