Variable: advancedSchema
ts
const advancedSchema: (options?) => Extension;The node types of advanced mode, without their behaviour: task lists, code blocks, images, tables and mentions. Add it to createEditor() so documents that use these nodes load and display everywhere (in basic mode the content stays visible and its text editable), then turn on the behaviour with editor.enable(() => import('@writeon/advanced')). Small, always loaded.
Use the same list on the server: validate(doc, { extensions: [...basic(), advancedSchema()] }).
Parameters
| Parameter | Type |
|---|---|
options? | AdvancedSchemaOptions |