|
|
@ -56,7 +56,8 @@ class QuillController extends ChangeNotifier { |
|
|
|
// updateSelection( |
|
|
|
// updateSelection( |
|
|
|
// TextSelection.collapsed(offset: document.length), ChangeSource.LOCAL); |
|
|
|
// TextSelection.collapsed(offset: document.length), ChangeSource.LOCAL); |
|
|
|
updateSelection( |
|
|
|
updateSelection( |
|
|
|
TextSelection.collapsed(offset: this.selection.baseOffset + len), ChangeSource.LOCAL); |
|
|
|
TextSelection.collapsed(offset: this.selection.baseOffset + len), |
|
|
|
|
|
|
|
ChangeSource.LOCAL); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// no need to move cursor |
|
|
|
// no need to move cursor |
|
|
|
notifyListeners(); |
|
|
|
notifyListeners(); |
|
|
|