mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-12-15 02:59:01 +08:00
fix autofocus, fix #429
This commit is contained in:
parent
0e246e843a
commit
80638e2b99
@ -364,7 +364,7 @@ export default class Editor extends Emitter {
|
||||
return this.selection
|
||||
}
|
||||
|
||||
if (position === 'start') {
|
||||
if (position === 'start' || position === true) {
|
||||
return {
|
||||
from: 0,
|
||||
to: 0,
|
||||
|
Loading…
Reference in New Issue
Block a user