@ones-editor/editor 2.8.0 → 2.8.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.
package/dist/index.js CHANGED
@@ -76155,7 +76155,7 @@ ${docStr}
76155
76155
  const style2 = span.style;
76156
76156
  const fontSize2 = style2.fontSize;
76157
76157
  if (fontSize2) {
76158
- const fontSizeValue = fontSize2.replace("px", "");
76158
+ const fontSizeValue = Math.round(parseFloat(fontSize2.replace("px", "")));
76159
76159
  return `<font-size-${fontSizeValue}>${content}</font-size-${fontSizeValue}>`;
76160
76160
  }
76161
76161
  return content;
@@ -92539,7 +92539,7 @@ ${data2.plantumlText}
92539
92539
  }
92540
92540
  }
92541
92541
  });
92542
- editor.version = "2.8.0";
92542
+ editor.version = "2.8.1";
92543
92543
  return editor;
92544
92544
  }
92545
92545
  function isDoc(doc2) {
@@ -92652,7 +92652,7 @@ ${data2.plantumlText}
92652
92652
  }
92653
92653
  });
92654
92654
  OnesEditorToolbar.register(editor);
92655
- editor.version = "2.8.0";
92655
+ editor.version = "2.8.1";
92656
92656
  return editor;
92657
92657
  }
92658
92658
  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.0",
3
+ "version": "2.8.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {