@mdxeditor/editor 3.39.0 → 3.39.1

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.
@@ -101,7 +101,7 @@ const mutableMarkdownSignal$ = Signal((r) => {
101
101
  ),
102
102
  mutableMarkdownSignal$
103
103
  );
104
- });
104
+ }, true);
105
105
  const importVisitors$ = Cell([]);
106
106
  const usedLexicalNodes$ = Cell([]);
107
107
  const syntaxExtensions$ = Cell([]);
@@ -475,10 +475,14 @@ const viewMode$ = Cell("rich-text", (r) => {
475
475
  }
476
476
  );
477
477
  });
478
- const markdownSourceEditorValue$ = Cell("", (r) => {
479
- r.link(markdown$, markdownSourceEditorValue$);
480
- r.link(markdownSourceEditorValue$, markdownSignal$);
481
- });
478
+ const markdownSourceEditorValue$ = Cell(
479
+ "",
480
+ (r) => {
481
+ r.link(markdown$, markdownSourceEditorValue$);
482
+ r.link(markdownSourceEditorValue$, markdownSignal$);
483
+ },
484
+ true
485
+ );
482
486
  const activePlugins$ = Cell([]);
483
487
  const addActivePlugin$ = Appender(activePlugins$);
484
488
  const translation$ = Cell(() => {
@@ -491,6 +495,7 @@ const corePlugin = realmPlugin({
491
495
  r.register(createRootEditorSubscription$);
492
496
  r.register(createActiveEditorSubscription$);
493
497
  r.register(markdownSignal$);
498
+ r.register(markdownSourceEditorValue$);
494
499
  r.pubIn({
495
500
  [initialMarkdown$]: (params == null ? void 0 : params.trim) ? initialMarkdown.trim() : initialMarkdown,
496
501
  [iconComponentFor$]: params == null ? void 0 : params.iconComponentFor,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "*.css"
12
12
  ],
13
13
  "type": "module",
14
- "version": "3.39.0",
14
+ "version": "3.39.1",
15
15
  "description": "React component for rich text markdown editing",
16
16
  "scripts": {
17
17
  "build": "vite build",