veryfront 0.1.28 → 0.1.29
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/esm/deno.js
CHANGED
|
@@ -2980,7 +2980,7 @@ export function generateStudioBridgeScript(options) {
|
|
|
2980
2980
|
|
|
2981
2981
|
let nextContent = '';
|
|
2982
2982
|
update.editorState.read(function() {
|
|
2983
|
-
nextContent = markdownModule.$convertToMarkdownString(markdownModule.TRANSFORMERS, true);
|
|
2983
|
+
nextContent = markdownModule.$convertToMarkdownString(markdownModule.TRANSFORMERS, undefined, true);
|
|
2984
2984
|
});
|
|
2985
2985
|
const restoredBody = restoreRawBlocksFromEditor(nextContent);
|
|
2986
2986
|
const fullContent = composeMarkdownContent(restoredBody);
|
|
@@ -3100,7 +3100,7 @@ export function generateStudioBridgeScript(options) {
|
|
|
3100
3100
|
const markdownModule = markdownLexicalApi.markdownModule;
|
|
3101
3101
|
const root = lexicalModule.$getRoot();
|
|
3102
3102
|
root.clear();
|
|
3103
|
-
markdownModule.$convertFromMarkdownString(editorContent, markdownModule.TRANSFORMERS, true);
|
|
3103
|
+
markdownModule.$convertFromMarkdownString(editorContent, markdownModule.TRANSFORMERS, undefined, true);
|
|
3104
3104
|
if (root.getChildrenSize() === 0) {
|
|
3105
3105
|
root.append(lexicalModule.$createParagraphNode());
|
|
3106
3106
|
}
|
package/package.json
CHANGED
package/src/deno.js
CHANGED
|
@@ -2988,7 +2988,7 @@ export function generateStudioBridgeScript(options: StudioBridgeOptions): string
|
|
|
2988
2988
|
|
|
2989
2989
|
let nextContent = '';
|
|
2990
2990
|
update.editorState.read(function() {
|
|
2991
|
-
nextContent = markdownModule.$convertToMarkdownString(markdownModule.TRANSFORMERS, true);
|
|
2991
|
+
nextContent = markdownModule.$convertToMarkdownString(markdownModule.TRANSFORMERS, undefined, true);
|
|
2992
2992
|
});
|
|
2993
2993
|
const restoredBody = restoreRawBlocksFromEditor(nextContent);
|
|
2994
2994
|
const fullContent = composeMarkdownContent(restoredBody);
|
|
@@ -3108,7 +3108,7 @@ export function generateStudioBridgeScript(options: StudioBridgeOptions): string
|
|
|
3108
3108
|
const markdownModule = markdownLexicalApi.markdownModule;
|
|
3109
3109
|
const root = lexicalModule.$getRoot();
|
|
3110
3110
|
root.clear();
|
|
3111
|
-
markdownModule.$convertFromMarkdownString(editorContent, markdownModule.TRANSFORMERS, true);
|
|
3111
|
+
markdownModule.$convertFromMarkdownString(editorContent, markdownModule.TRANSFORMERS, undefined, true);
|
|
3112
3112
|
if (root.getChildrenSize() === 0) {
|
|
3113
3113
|
root.append(lexicalModule.$createParagraphNode());
|
|
3114
3114
|
}
|