@lvce-editor/editor-worker 19.29.14 → 19.29.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/editorWorkerMain.js +3 -0
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -12246,6 +12246,9 @@ const applyTabCompletion = (editor, result) => {
|
|
|
12246
12246
|
};
|
|
12247
12247
|
|
|
12248
12248
|
const handleTab = async editor => {
|
|
12249
|
+
if (!isEverySelectionEmpty(editor.selections)) {
|
|
12250
|
+
return indentMore(editor);
|
|
12251
|
+
}
|
|
12249
12252
|
const result = await getTabCompletion(editor);
|
|
12250
12253
|
if (!result) {
|
|
12251
12254
|
// TODO enter tab or two spaces
|