mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-16 03:39:00 +08:00
fix default selection
This commit is contained in:
parent
1a80978d0f
commit
8b94b43919
@ -74,7 +74,7 @@ export default class Editor extends Emitter {
|
|||||||
...options,
|
...options,
|
||||||
})
|
})
|
||||||
this.focused = false
|
this.focused = false
|
||||||
this.selection = null
|
this.selection = { from: 0, to: 0 }
|
||||||
this.element = document.createElement('div')
|
this.element = document.createElement('div')
|
||||||
this.extensions = this.createExtensions()
|
this.extensions = this.createExtensions()
|
||||||
this.nodes = this.createNodes()
|
this.nodes = this.createNodes()
|
||||||
|
Loading…
Reference in New Issue
Block a user