Fixed #2842 - Editor Quill: SSR error document is not defined

This commit is contained in:
mertsincan 2022-08-29 11:08:07 +01:00
parent af8efc4c3a
commit 7bdbeecf69
6 changed files with 133 additions and 41 deletions

View file

@ -28,6 +28,12 @@ const EditorProps = [
type: "any",
default: "null",
description: "Inline style of the container."
},
{
name: 'modules',
type: 'object',
default: 'null',
description: 'Modules configuration, see <a href="http://quilljs.com/docs/modules/">here</a> for available options.'
}
];
@ -98,6 +104,17 @@ const EditorEvents = [
description: "Text editor instance."
}
]
},
{
name: 'load',
description: 'Callback to invoke when the quill modules are loaded.',
arguments: [
{
name: 'event.instance',
type: 'any',
description: 'Quill instance'
}
]
}
];