@ones-editor/editor 3.0.3-beta.8 → 3.0.3-beta.9

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
@@ -42628,6 +42628,9 @@ ${codeText}
42628
42628
  function initMenuItem$1(item, elem) {
42629
42629
  var _a, _b;
42630
42630
  addClass(elem, "menu-item");
42631
+ if (item.className) {
42632
+ addClass(elem, ...item.className.split(" "));
42633
+ }
42631
42634
  if (item.element) {
42632
42635
  return;
42633
42636
  }
@@ -42703,6 +42706,9 @@ ${codeText}
42703
42706
  });
42704
42707
  }
42705
42708
  function initToolbarItem(item, elem, options) {
42709
+ if (item.className) {
42710
+ addClass(elem, ...item.className.split(" "));
42711
+ }
42706
42712
  elem.setAttribute("data-button-id", item.id);
42707
42713
  if (options.tooltipId && item.name && !item.disableTooltip) {
42708
42714
  elem.setAttribute(`data-editor-tooltip-${options.tooltipId}`, item.name);
@@ -96050,7 +96056,7 @@ ${JSON.stringify(error2, null, 2)}`);
96050
96056
  }
96051
96057
  }
96052
96058
  });
96053
- editor.version = "3.0.3-beta.8";
96059
+ editor.version = "3.0.3-beta.9";
96054
96060
  return editor;
96055
96061
  }
96056
96062
  function isDoc(doc2) {
@@ -96184,7 +96190,7 @@ ${JSON.stringify(error2, null, 2)}`);
96184
96190
  OnesEditorDropTarget.register(editor);
96185
96191
  OnesEditorTocProvider.register(editor);
96186
96192
  OnesEditorExclusiveBlock.register(editor);
96187
- editor.version = "3.0.3-beta.8";
96193
+ editor.version = "3.0.3-beta.9";
96188
96194
  return editor;
96189
96195
  }
96190
96196
  async function showDocVersions(editor, options, serverUrl) {
@@ -96319,7 +96325,7 @@ ${JSON.stringify(error2, null, 2)}`);
96319
96325
  }
96320
96326
  }
96321
96327
  });
96322
- editor.version = "3.0.3-beta.8";
96328
+ editor.version = "3.0.3-beta.9";
96323
96329
  return editor;
96324
96330
  }
96325
96331
  const emojis$1 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "3.0.3-beta.8",
3
+ "version": "3.0.3-beta.9",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "dependencies": {