fix autofocus, fix #429

This commit is contained in:
Philipp Kühn 2019-08-20 16:00:41 +02:00
parent 0e246e843a
commit 80638e2b99

View File

@ -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,