@ylzcc/editor 0.3.12 → 0.3.14

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/editor.es.js CHANGED
@@ -86307,7 +86307,13 @@ const upload = async (Ff) => {
86307
86307
  duration: [300, 300],
86308
86308
  interactiveBorder: 10,
86309
86309
  interactiveDebounce: 75,
86310
- maxWidth: 500
86310
+ maxWidth: 500,
86311
+ onTrigger(gme, vme) {
86312
+ $_.classList.add("tiptap-menu-item-list-item-light");
86313
+ },
86314
+ onHide(gme) {
86315
+ $_.classList.remove("tiptap-menu-item-list-item-light");
86316
+ }
86311
86317
  // getReferenceClientRect: tableDom.getBoundingClientRect
86312
86318
  });
86313
86319
  }, [$_, zP]);
@@ -86952,7 +86958,13 @@ const normalClass = "tiptap-menu-item-menus-item", lighClass = "tiptap-menu-item
86952
86958
  duration: [300, 300],
86953
86959
  interactiveBorder: 10,
86954
86960
  interactiveDebounce: 75,
86955
- maxWidth: 500
86961
+ maxWidth: 500,
86962
+ onTrigger(Eme, Sme) {
86963
+ $_.classList.add("tiptap-menu-item-list-item-light");
86964
+ },
86965
+ onHide(Eme) {
86966
+ $_.classList.remove("tiptap-menu-item-list-item-light");
86967
+ }
86956
86968
  // getReferenceClientRect: tableDom.getBoundingClientRect
86957
86969
  });
86958
86970
  }, [$_, zP]);
@@ -140082,7 +140094,7 @@ let Editor = (Ff, kh) => {
140082
140094
  if (tme && nme)
140083
140095
  if ((Vme = (zme = pme == null ? void 0 : pme.view) == null ? void 0 : zme.docView) != null && Vme.children) {
140084
140096
  const C_e = (o_e = (qme = pme == null ? void 0 : pme.view) == null ? void 0 : qme.docView) == null ? void 0 : o_e.children;
140085
- if (console.log("🚀 editor:", pme), !C_e) {
140097
+ if (!C_e) {
140086
140098
  nme([]);
140087
140099
  return;
140088
140100
  }