@lvce-editor/editor-worker 19.74.0 → 19.74.2
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 -1
- package/package.json +1 -1
package/dist/editorWorkerMain.js
CHANGED
|
@@ -14300,10 +14300,12 @@ const loadSignatureHelpContent = async state => {
|
|
|
14300
14300
|
x,
|
|
14301
14301
|
y
|
|
14302
14302
|
} = signatureHelpInfo;
|
|
14303
|
+
const documentationVirtualDom = documentation ? await getVirtualDomFromMarkdown(documentation) : [];
|
|
14303
14304
|
return {
|
|
14304
14305
|
...state,
|
|
14305
14306
|
diagnostics: [],
|
|
14306
14307
|
documentation,
|
|
14308
|
+
documentationVirtualDom,
|
|
14307
14309
|
height,
|
|
14308
14310
|
lineInfos,
|
|
14309
14311
|
width,
|
|
@@ -14943,7 +14945,7 @@ const toggleCompletion = async editor => {
|
|
|
14943
14945
|
};
|
|
14944
14946
|
|
|
14945
14947
|
const type = async (editor, text) => {
|
|
14946
|
-
const changes = editorReplaceSelections(editor,
|
|
14948
|
+
const changes = editorReplaceSelections(editor, splitLines(text), EditorType);
|
|
14947
14949
|
return scheduleDocumentAndCursorsSelections(editor, changes);
|
|
14948
14950
|
};
|
|
14949
14951
|
|