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 d4f30de commit 1ad8d32Copy full SHA for 1ad8d32
ui/src/components/nodes/Rich.tsx
@@ -615,6 +615,10 @@ const MyEditor = ({
615
setState(nextState);
616
// TODO sync with DB and yjs
617
if (parameter.tr?.docChanged) {
618
+ setPodRichContent({
619
+ id,
620
+ richContent: parameter.helpers.getMarkdown(),
621
+ });
622
index_onChange += 1;
623
if (index_onChange == 1) {
624
if (
@@ -626,10 +630,6 @@ const MyEditor = ({
626
630
}
627
631
628
632
setPodContent({ id, content: nextState.doc.toJSON() });
629
- setPodRichContent({
- id,
- richContent: parameter.helpers.getMarkdown(),
- });
633
634
}}
635
>
0 commit comments