Extension
Defined in: types.ts:99
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”T extends object = { }
Methods
Section titled “Methods”update()
Section titled “update()”update(
editor,options):any
Defined in: types.ts:101
Function called when the extension is added or the options of the editor change.
Parameters
Section titled “Parameters”editor
Section titled “editor”PrismEditor<T>
options
Section titled “options”EditorOptions<{ }> & Omit<T, keyof EditorOptions<{ }>>
Returns
Section titled “Returns”any