We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122acc9 commit c609330Copy full SHA for c609330
common/content/editor.js
@@ -681,7 +681,8 @@ const Editor = Module("editor", {
681
["<C-t>"], "Edit text field in Vi mode",
682
function () {
683
let edtr = Editor.getEditor();
684
- edtr.setSelectionRange(edtr.selectionStart - 1, edtr.selectionStart - 1);
+ if (edtr.setSelectionRange)
685
+ edtr.setSelectionRange(edtr.selectionStart - 1, edtr.selectionStart - 1);
686
liberator.mode = modes.TEXTAREA;
687
});
688
0 commit comments