rme 0.0.69 → 0.0.72

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/index.d.ts CHANGED
@@ -495,4 +495,4 @@ declare const lightTheme: {
495
495
  };
496
496
  };
497
497
 
498
- export { type CreateCodemirrorOptions, type CreateWysiwygDelegateOptions, type DocToString, Editor, type EditorChangeEventParams, type EditorChangeHandler, type EditorContext, type EditorDelegate, extensions as EditorExtensions, type EditorProps, type EditorRef, type EditorState, type EditorViewType, type Note, Preview, SourceCodeThemeWrapper, _default$1 as SourceEditor, type StringToDoc, ThemeProvider, _default as WysiwygEditor, WysiwygThemeWrapper, buildMarkdownParser, buildMarkdownSerializer, changeTheme, common, computeChange, createSourceCodeDelegate, createSourceCodeManager, createWysiwygDelegate, darkTheme, defaultStyleToken, extractMatches, getLanguageMap, lightTheme, loadLanguage, tableSelectorSize, wysiwygTransformer };
498
+ export { type CreateCodemirrorOptions, type CreateWysiwygDelegateOptions, type DocToString, Editor, type EditorChangeEventParams, type EditorChangeHandler, type EditorContext, type EditorDelegate, extensions as EditorExtensions, type EditorProps, type EditorRef, type EditorState, type EditorViewType, MfCodemirrorView, type Note, Preview, SourceCodeThemeWrapper, _default$1 as SourceEditor, type StringToDoc, ThemeProvider, _default as WysiwygEditor, WysiwygThemeWrapper, buildMarkdownParser, buildMarkdownSerializer, changeTheme, common, computeChange, createSourceCodeDelegate, createSourceCodeManager, createWysiwygDelegate, darkTheme, defaultStyleToken, extractMatches, getLanguageMap, lightTheme, loadLanguage, tableSelectorSize, wysiwygTransformer };
package/dist/index.mjs CHANGED
@@ -9900,7 +9900,6 @@ function computeChange(oldVal, newVal) {
9900
9900
  }
9901
9901
  return { from: start, to: oldEnd, text: newVal.slice(start, newEnd) };
9902
9902
  }
9903
- var codemirror_default = MfCodemirrorView;
9904
9903
 
9905
9904
  // src/editor/extensions/CodeMirror/setup.ts
9906
9905
  import {
@@ -16476,7 +16475,7 @@ var HtmlNodeView = class {
16476
16475
  throw Error("inner view should not exist!");
16477
16476
  }
16478
16477
  const htmlLang = html();
16479
- this.mfCodemirrorView = new codemirror_default({
16478
+ this.mfCodemirrorView = new MfCodemirrorView({
16480
16479
  view: this._outerView,
16481
16480
  node: this._node,
16482
16481
  getPos: this._getPos,
@@ -18959,7 +18958,7 @@ var CodeMirror6NodeView = class {
18959
18958
  this.view = view;
18960
18959
  this.getPos = getPos;
18961
18960
  this.languageName = "";
18962
- this.mfCodemirrorView = new codemirror_default({
18961
+ this.mfCodemirrorView = new MfCodemirrorView({
18963
18962
  view: this.view,
18964
18963
  getPos: this.getPos,
18965
18964
  node: this.node,
@@ -19445,6 +19444,7 @@ var Preview = (props) => {
19445
19444
  export {
19446
19445
  Editor,
19447
19446
  extensions_default as EditorExtensions,
19447
+ MfCodemirrorView,
19448
19448
  Preview,
19449
19449
  SourceCodeThemeWrapper,
19450
19450
  SourceEditor_default as SourceEditor,