@ones-editor/editor 2.8.42 → 2.8.43

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.js CHANGED
@@ -91897,7 +91897,7 @@ ${JSON.stringify(error2, null, 2)}`);
91897
91897
  return void 0;
91898
91898
  }
91899
91899
  function inlineStyleFontFamily(text2) {
91900
- return attributesOfText(text2, "inline-style-font-family");
91900
+ return void 0;
91901
91901
  }
91902
91902
  function inlineStyleBackgroundColor(text2) {
91903
91903
  const color = attributesOfText(text2, "inline-style-background-color");
@@ -91924,7 +91924,7 @@ ${JSON.stringify(error2, null, 2)}`);
91924
91924
  subScript: !!attributesOfText(text2, "style-sub"),
91925
91925
  math: attributesOfText(text2, "type") === "math" ? attributesOfText(text2, "src") : void 0,
91926
91926
  mention: isMention,
91927
- fontFamily: inlineStyleFontFamily(text2),
91927
+ fontFamily: inlineStyleFontFamily(),
91928
91928
  background: inlineStyleBackgroundColor(text2),
91929
91929
  color: isMention ? "338fe5" : styleColorToColor(attributeOfStyleColor(text2, "style-color-", 6)) || inlineStyleColor(text2),
91930
91930
  highlight: attributeOfStyleColor(text2, "style-bg-color-", 13)
@@ -93930,7 +93930,7 @@ ${JSON.stringify(error2, null, 2)}`);
93930
93930
  }
93931
93931
  }
93932
93932
  });
93933
- editor.version = "2.8.42";
93933
+ editor.version = "2.8.43";
93934
93934
  return editor;
93935
93935
  }
93936
93936
  function isDoc(doc2) {
@@ -94043,7 +94043,7 @@ ${JSON.stringify(error2, null, 2)}`);
94043
94043
  }
94044
94044
  });
94045
94045
  OnesEditorToolbar.register(editor);
94046
- editor.version = "2.8.42";
94046
+ editor.version = "2.8.43";
94047
94047
  return editor;
94048
94048
  }
94049
94049
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.8.42",
3
+ "version": "2.8.43",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {