fix autofocus, fix #429
This commit is contained in:
@@ -364,7 +364,7 @@ export default class Editor extends Emitter {
|
|||||||
return this.selection
|
return this.selection
|
||||||
}
|
}
|
||||||
|
|
||||||
if (position === 'start') {
|
if (position === 'start' || position === true) {
|
||||||
return {
|
return {
|
||||||
from: 0,
|
from: 0,
|
||||||
to: 0,
|
to: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user