[BREAKING CHANGE] change the default document type to doc
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
setContent() {
|
||||
// You can pass a JSON document to the editor.
|
||||
this.editor.commands.setContent({
|
||||
type: 'document',
|
||||
type: 'doc',
|
||||
content: [{
|
||||
type: 'paragraph',
|
||||
content: [
|
||||
|
||||
Reference in New Issue
Block a user