Skip to content

defineEditorExtension ​

Function of @v12-engine/editor

ts
export declare function defineEditorExtension(extension: EditorExtension): EditorExtension;

An extension of the editor, said once: what it brings (EditorExtension), to declare in EditorOptions.extensions or add with editor.extensions.add. The same object back, typed: its new versions, as its module is saved, come through the page's ExtensionRegistry (the dev server's plugin has the module hand them on, hotExtensions)