@halo-dev/richtext-editor 0.0.0-alpha.13 → 0.0.0-alpha.15

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.
@@ -4006,14 +4006,14 @@ var RichTextEditor = function(exports, vue) {
4006
4006
  return (this.updated & UPDATED_SCROLL) > 0;
4007
4007
  }
4008
4008
  }
4009
- function bind(f, self2) {
4009
+ function bind$1(f, self2) {
4010
4010
  return !self2 || !f ? f : f.bind(self2);
4011
4011
  }
4012
4012
  class FieldDesc {
4013
4013
  constructor(name, desc, self2) {
4014
4014
  this.name = name;
4015
- this.init = bind(desc.init, self2);
4016
- this.apply = bind(desc.apply, self2);
4015
+ this.init = bind$1(desc.init, self2);
4016
+ this.apply = bind$1(desc.apply, self2);
4017
4017
  }
4018
4018
  }
4019
4019
  const baseFields = [
@@ -16070,7 +16070,7 @@ img.ProseMirror-separator {
16070
16070
  })
16071
16071
  };
16072
16072
  }
16073
- function render$B(instance) {
16073
+ function render$F(instance) {
16074
16074
  var popper2 = div();
16075
16075
  var box = div();
16076
16076
  box.className = BOX_CLASS;
@@ -16125,7 +16125,7 @@ img.ProseMirror-separator {
16125
16125
  onUpdate
16126
16126
  };
16127
16127
  }
16128
- render$B.$$tippy = true;
16128
+ render$F.$$tippy = true;
16129
16129
  var idCounter = 1;
16130
16130
  var mouseMoveListeners = [];
16131
16131
  var mountedInstances = [];
@@ -16898,7 +16898,7 @@ img.ProseMirror-separator {
16898
16898
  }
16899
16899
  });
16900
16900
  tippy.setDefaultProps({
16901
- render: render$B
16901
+ render: render$F
16902
16902
  });
16903
16903
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
16904
16904
  function isObject$2(value) {
@@ -20121,10 +20121,10 @@ img.ProseMirror-separator {
20121
20121
  tabindex: "-1"
20122
20122
  };
20123
20123
  vue.popScopeId();
20124
- const render$A = /* @__PURE__ */ _withId((_ctx, _cache, $props, $setup, $data, $options) => {
20124
+ const render$E = /* @__PURE__ */ _withId((_ctx, _cache, $props, $setup, $data, $options) => {
20125
20125
  return vue.openBlock(), vue.createBlock("div", _hoisted_1$2$1);
20126
20126
  });
20127
- script.render = render$A;
20127
+ script.render = render$E;
20128
20128
  script.__scopeId = "data-v-b329ee4c";
20129
20129
  script.__file = "src/components/ResizeObserver.vue";
20130
20130
  var PrivateThemeClass = (prop = "theme") => ({
@@ -20171,10 +20171,10 @@ img.ProseMirror-separator {
20171
20171
  ref: "inner",
20172
20172
  class: "v-popper__inner"
20173
20173
  };
20174
- const _hoisted_3$F = /* @__PURE__ */ vue.createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
20174
+ const _hoisted_3$J = /* @__PURE__ */ vue.createElementVNode("div", { class: "v-popper__arrow-outer" }, null, -1);
20175
20175
  const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("div", { class: "v-popper__arrow-inner" }, null, -1);
20176
- const _hoisted_5$1 = [
20177
- _hoisted_3$F,
20176
+ const _hoisted_5$2 = [
20177
+ _hoisted_3$J,
20178
20178
  _hoisted_4$2
20179
20179
  ];
20180
20180
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
@@ -20234,7 +20234,7 @@ img.ProseMirror-separator {
20234
20234
  left: _ctx.toPx(_ctx.result.arrow.x),
20235
20235
  top: _ctx.toPx(_ctx.result.arrow.y)
20236
20236
  } : void 0)
20237
- }, _hoisted_5$1, 4)
20237
+ }, _hoisted_5$2, 4)
20238
20238
  ], 4)
20239
20239
  ], 46, _hoisted_1$1$1);
20240
20240
  }
@@ -20352,7 +20352,7 @@ img.ProseMirror-separator {
20352
20352
  name: "VTooltip",
20353
20353
  vPopperTheme: "tooltip"
20354
20354
  }));
20355
- vue.defineComponent({
20355
+ const _sfc_main$7 = vue.defineComponent({
20356
20356
  name: "VTooltipDirective",
20357
20357
  components: {
20358
20358
  Popper: PrivatePopper(),
@@ -20443,11 +20443,202 @@ img.ProseMirror-separator {
20443
20443
  }
20444
20444
  }
20445
20445
  });
20446
+ const _hoisted_1$L = ["innerHTML"];
20447
+ const _hoisted_2$K = ["textContent"];
20448
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
20449
+ const _component_PopperContent = vue.resolveComponent("PopperContent");
20450
+ const _component_Popper = vue.resolveComponent("Popper");
20451
+ return vue.openBlock(), vue.createBlock(_component_Popper, vue.mergeProps({ ref: "popper" }, _ctx.$attrs, {
20452
+ theme: _ctx.theme,
20453
+ "popper-node": () => _ctx.$refs.popperContent.$el,
20454
+ onApplyShow: _ctx.onShow,
20455
+ onApplyHide: _ctx.onHide
20456
+ }), {
20457
+ default: vue.withCtx(({
20458
+ popperId,
20459
+ isShown,
20460
+ shouldMountContent,
20461
+ skipTransition,
20462
+ autoHide,
20463
+ hide: hide2,
20464
+ handleResize,
20465
+ onResize,
20466
+ classes,
20467
+ result
20468
+ }) => [
20469
+ vue.createVNode(_component_PopperContent, {
20470
+ ref: "popperContent",
20471
+ class: vue.normalizeClass({
20472
+ "v-popper--tooltip-loading": _ctx.loading
20473
+ }),
20474
+ "popper-id": popperId,
20475
+ theme: _ctx.theme,
20476
+ shown: isShown,
20477
+ mounted: shouldMountContent,
20478
+ "skip-transition": skipTransition,
20479
+ "auto-hide": autoHide,
20480
+ "handle-resize": handleResize,
20481
+ classes,
20482
+ result,
20483
+ onHide: hide2,
20484
+ onResize
20485
+ }, {
20486
+ default: vue.withCtx(() => [
20487
+ _ctx.html ? (vue.openBlock(), vue.createElementBlock("div", {
20488
+ key: 0,
20489
+ innerHTML: _ctx.finalContent
20490
+ }, null, 8, _hoisted_1$L)) : (vue.openBlock(), vue.createElementBlock("div", {
20491
+ key: 1,
20492
+ textContent: vue.toDisplayString(_ctx.finalContent)
20493
+ }, null, 8, _hoisted_2$K))
20494
+ ]),
20495
+ _: 2
20496
+ }, 1032, ["class", "popper-id", "theme", "shown", "mounted", "skip-transition", "auto-hide", "handle-resize", "classes", "result", "onHide", "onResize"])
20497
+ ]),
20498
+ _: 1
20499
+ }, 16, ["theme", "popper-node", "onApplyShow", "onApplyHide"]);
20500
+ }
20501
+ var PrivateTooltipDirective = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
20502
+ const TARGET_CLASS = "v-popper--has-tooltip";
20503
+ function getPlacement(options2, modifiers2) {
20504
+ let result = options2.placement;
20505
+ if (!result && modifiers2) {
20506
+ for (const pos of placements) {
20507
+ if (modifiers2[pos]) {
20508
+ result = pos;
20509
+ }
20510
+ }
20511
+ }
20512
+ if (!result) {
20513
+ result = getDefaultConfig(options2.theme || "tooltip", "placement");
20514
+ }
20515
+ return result;
20516
+ }
20517
+ function getOptions(el, value, modifiers2) {
20518
+ let options2;
20519
+ const type = typeof value;
20520
+ if (type === "string") {
20521
+ options2 = { content: value };
20522
+ } else if (value && type === "object") {
20523
+ options2 = value;
20524
+ } else {
20525
+ options2 = { content: false };
20526
+ }
20527
+ options2.placement = getPlacement(options2, modifiers2);
20528
+ options2.targetNodes = () => [el];
20529
+ options2.referenceNode = () => el;
20530
+ return options2;
20531
+ }
20532
+ let directiveApp;
20533
+ let directives;
20534
+ let uid = 0;
20535
+ function ensureDirectiveApp() {
20536
+ if (directiveApp)
20537
+ return;
20538
+ directives = vue.ref([]);
20539
+ directiveApp = vue.createApp({
20540
+ name: "VTooltipDirectiveApp",
20541
+ setup() {
20542
+ return {
20543
+ directives
20544
+ };
20545
+ },
20546
+ render() {
20547
+ return this.directives.map((directive) => {
20548
+ return vue.h(PrivateTooltipDirective, __spreadProps(__spreadValues$1({}, directive.options), {
20549
+ shown: directive.shown || directive.options.shown,
20550
+ key: directive.id
20551
+ }));
20552
+ });
20553
+ },
20554
+ devtools: {
20555
+ hide: true
20556
+ }
20557
+ });
20558
+ const mountTarget = document.createElement("div");
20559
+ document.body.appendChild(mountTarget);
20560
+ directiveApp.mount(mountTarget);
20561
+ }
20562
+ function createTooltip(el, value, modifiers2) {
20563
+ ensureDirectiveApp();
20564
+ const options2 = vue.ref(getOptions(el, value, modifiers2));
20565
+ const shown = vue.ref(false);
20566
+ const item = {
20567
+ id: uid++,
20568
+ options: options2,
20569
+ shown
20570
+ };
20571
+ directives.value.push(item);
20572
+ if (el.classList) {
20573
+ el.classList.add(TARGET_CLASS);
20574
+ }
20575
+ const result = el.$_popper = {
20576
+ options: options2,
20577
+ item,
20578
+ show() {
20579
+ shown.value = true;
20580
+ },
20581
+ hide() {
20582
+ shown.value = false;
20583
+ }
20584
+ };
20585
+ return result;
20586
+ }
20587
+ function destroyTooltip(el) {
20588
+ if (el.$_popper) {
20589
+ const index2 = directives.value.indexOf(el.$_popper.item);
20590
+ if (index2 !== -1)
20591
+ directives.value.splice(index2, 1);
20592
+ delete el.$_popper;
20593
+ delete el.$_popperOldShown;
20594
+ delete el.$_popperMountTarget;
20595
+ }
20596
+ if (el.classList) {
20597
+ el.classList.remove(TARGET_CLASS);
20598
+ }
20599
+ }
20600
+ function bind(el, { value, modifiers: modifiers2 }) {
20601
+ const options2 = getOptions(el, value, modifiers2);
20602
+ if (!options2.content || getDefaultConfig(options2.theme || "tooltip", "disabled")) {
20603
+ destroyTooltip(el);
20604
+ } else {
20605
+ let directive;
20606
+ if (el.$_popper) {
20607
+ directive = el.$_popper;
20608
+ directive.options.value = options2;
20609
+ } else {
20610
+ directive = createTooltip(el, value, modifiers2);
20611
+ }
20612
+ if (typeof value.shown !== "undefined" && value.shown !== el.$_popperOldShown) {
20613
+ el.$_popperOldShown = value.shown;
20614
+ value.shown ? directive.show() : directive.hide();
20615
+ }
20616
+ }
20617
+ }
20618
+ var PrivateVTooltip = {
20619
+ beforeMount: bind,
20620
+ updated: bind,
20621
+ beforeUnmount(el) {
20622
+ destroyTooltip(el);
20623
+ }
20624
+ };
20625
+ const VTooltip = PrivateVTooltip;
20446
20626
  const Menu = _sfc_main$2$1;
20447
- const _hoisted_1$G = { class: "editor-header flex items-center py-1 space-x-0.5 justify-center border-b drop-shadow-sm bg-white" };
20448
- const _hoisted_2$F = ["onClick"];
20449
- const _hoisted_3$E = { class: "relative rounded-md bg-white overflow-hidden drop-shadow w-48 p-1 max-h-72 overflow-y-auto" };
20450
- const _hoisted_4$1 = ["onClick"];
20627
+ const _hoisted_1$K = { class: "editor-header flex items-center py-1 space-x-0.5 justify-center border-b drop-shadow-sm bg-white" };
20628
+ const _hoisted_2$J = {
20629
+ key: 0,
20630
+ class: "px-1"
20631
+ };
20632
+ const _hoisted_3$I = /* @__PURE__ */ vue.createElementVNode("div", {
20633
+ class: "h-5 bg-gray-100",
20634
+ style: { "width": "1px" }
20635
+ }, null, -1);
20636
+ const _hoisted_4$1 = [
20637
+ _hoisted_3$I
20638
+ ];
20639
+ const _hoisted_5$1 = ["onClick"];
20640
+ const _hoisted_6$1 = { class: "relative rounded-md bg-white overflow-hidden drop-shadow w-48 p-1 max-h-72 overflow-y-auto" };
20641
+ const _hoisted_7 = ["onClick"];
20451
20642
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
20452
20643
  __name: "EditorHeader",
20453
20644
  props: {
@@ -20459,54 +20650,58 @@ img.ProseMirror-separator {
20459
20650
  },
20460
20651
  setup(__props) {
20461
20652
  return (_ctx, _cache) => {
20462
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
20653
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K, [
20463
20654
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.menuItems, (menuItem, index2) => {
20464
20655
  var _a2, _b;
20465
20656
  return vue.openBlock(), vue.createElementBlock("div", {
20466
20657
  key: index2,
20467
20658
  class: "inline-flex items-center justify-center"
20468
20659
  }, [
20469
- !((_a2 = menuItem.children) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("button", {
20470
- key: 0,
20471
- class: vue.normalizeClass([{ "bg-gray-200": (_b = menuItem.isActive) == null ? void 0 : _b.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"]),
20472
- onClick: menuItem.action
20473
- }, [
20474
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon)))
20475
- ], 10, _hoisted_2$F)) : (vue.openBlock(), vue.createBlock(vue.unref(Menu), {
20476
- key: 1,
20477
- class: "inline-flex"
20478
- }, {
20479
- popper: vue.withCtx(() => [
20480
- vue.createElementVNode("div", _hoisted_3$E, [
20481
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(menuItem.children, (child, childIndex) => {
20482
- var _a3, _b2, _c;
20483
- return vue.openBlock(), vue.createElementBlock("div", {
20484
- key: childIndex,
20485
- class: vue.normalizeClass([{ "!bg-gray-100": (_a3 = child.isActive) == null ? void 0 : _a3.call(child) }, "flex flex-row items-center rounded gap-4 p-1 hover:bg-gray-100 group cursor-pointer"]),
20486
- onClick: child.action
20660
+ menuItem.type === "separator" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$J, _hoisted_4$1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
20661
+ !((_a2 = menuItem.children) == null ? void 0 : _a2.length) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
20662
+ key: 0,
20663
+ class: vue.normalizeClass([{ "bg-gray-200": (_b = menuItem.isActive) == null ? void 0 : _b.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"]),
20664
+ onClick: menuItem.action
20665
+ }, [
20666
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon)))
20667
+ ], 10, _hoisted_5$1)), [
20668
+ [vue.unref(VTooltip), menuItem.title]
20669
+ ]) : (vue.openBlock(), vue.createBlock(vue.unref(Menu), {
20670
+ key: 1,
20671
+ class: "inline-flex"
20672
+ }, {
20673
+ popper: vue.withCtx(() => [
20674
+ vue.createElementVNode("div", _hoisted_6$1, [
20675
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(menuItem.children, (child, childIndex) => {
20676
+ var _a3, _b2, _c;
20677
+ return vue.openBlock(), vue.createElementBlock("div", {
20678
+ key: childIndex,
20679
+ class: vue.normalizeClass([{ "!bg-gray-100": (_a3 = child.isActive) == null ? void 0 : _a3.call(child) }, "flex flex-row items-center rounded gap-4 p-1 hover:bg-gray-100 group cursor-pointer"]),
20680
+ onClick: child.action
20681
+ }, [
20682
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(child.icon), {
20683
+ class: vue.normalizeClass(["bg-gray-100 p-1 rounded w-6 h-6 group-hover:bg-white", { "!bg-white": (_b2 = child.isActive) == null ? void 0 : _b2.call(child) }])
20684
+ }, null, 8, ["class"])),
20685
+ vue.createElementVNode("span", {
20686
+ class: vue.normalizeClass(["text-xs text-gray-600 group-hover:text-gray-900 group-hover:font-medium", { "!text-gray-900 !font-medium": (_c = child.isActive) == null ? void 0 : _c.call(child) }])
20687
+ }, vue.toDisplayString(child.title), 3)
20688
+ ], 10, _hoisted_7);
20689
+ }), 128))
20690
+ ])
20691
+ ]),
20692
+ default: vue.withCtx(() => {
20693
+ var _a3;
20694
+ return [
20695
+ vue.createElementVNode("button", {
20696
+ class: vue.normalizeClass([{ "bg-gray-200": (_a3 = menuItem.isActive) == null ? void 0 : _a3.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"])
20487
20697
  }, [
20488
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(child.icon), {
20489
- class: vue.normalizeClass(["bg-gray-100 p-1 rounded w-6 h-6 group-hover:bg-white", { "!bg-white": (_b2 = child.isActive) == null ? void 0 : _b2.call(child) }])
20490
- }, null, 8, ["class"])),
20491
- vue.createElementVNode("span", {
20492
- class: vue.normalizeClass(["text-xs text-gray-600 group-hover:text-gray-900 group-hover:font-medium", { "!text-gray-900 !font-medium": (_c = child.isActive) == null ? void 0 : _c.call(child) }])
20493
- }, vue.toDisplayString(child.title), 3)
20494
- ], 10, _hoisted_4$1);
20495
- }), 128))
20496
- ])
20497
- ]),
20498
- default: vue.withCtx(() => {
20499
- var _a3;
20500
- return [
20501
- vue.createElementVNode("button", {
20502
- class: vue.normalizeClass([{ "bg-gray-200": (_a3 = menuItem.isActive) == null ? void 0 : _a3.call(menuItem) }, "hover:bg-gray-100 p-1 rounded-sm"])
20503
- }, [
20504
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon)))
20505
- ], 2)
20506
- ];
20507
- }),
20508
- _: 2
20509
- }, 1024))
20698
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon)))
20699
+ ], 2)
20700
+ ];
20701
+ }),
20702
+ _: 2
20703
+ }, 1024))
20704
+ ], 64))
20510
20705
  ]);
20511
20706
  }), 128))
20512
20707
  ]);
@@ -20514,8 +20709,8 @@ img.ProseMirror-separator {
20514
20709
  }
20515
20710
  });
20516
20711
  const svgArrow = "";
20517
- const _hoisted_1$F = { class: "bg-white flex items-center rounded p-1 border drop-shadow space-x-0.5" };
20518
- const _hoisted_2$E = ["title", "onClick"];
20712
+ const _hoisted_1$J = { class: "bg-white flex items-center rounded p-1 border drop-shadow space-x-0.5" };
20713
+ const _hoisted_2$I = ["title", "onClick"];
20519
20714
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
20520
20715
  __name: "EditorBubbleMenu",
20521
20716
  props: {
@@ -20536,7 +20731,7 @@ img.ProseMirror-separator {
20536
20731
  "tippy-options": { duration: 100, arrow: vue.unref(ROUND_ARROW), maxWidth: "100%" }
20537
20732
  }, {
20538
20733
  default: vue.withCtx(() => [
20539
- vue.createElementVNode("div", _hoisted_1$F, [
20734
+ vue.createElementVNode("div", _hoisted_1$J, [
20540
20735
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.menuItems, (menuItem, index2) => {
20541
20736
  var _a2;
20542
20737
  return vue.openBlock(), vue.createElementBlock("button", {
@@ -20548,8 +20743,10 @@ img.ProseMirror-separator {
20548
20743
  return (_a3 = menuItem.action) == null ? void 0 : _a3.call(menuItem);
20549
20744
  }
20550
20745
  }, [
20551
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon)))
20552
- ], 10, _hoisted_2$E);
20746
+ vue.withDirectives((vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(menuItem.icon), null, null, 512)), [
20747
+ [vue.unref(VTooltip), menuItem.title]
20748
+ ])
20749
+ ], 10, _hoisted_2$I);
20553
20750
  }), 128))
20554
20751
  ])
20555
20752
  ]),
@@ -20558,12 +20755,12 @@ img.ProseMirror-separator {
20558
20755
  };
20559
20756
  }
20560
20757
  });
20561
- const _hoisted_1$E = {
20758
+ const _hoisted_1$I = {
20562
20759
  key: 0,
20563
20760
  class: "halo-rich-text-editor"
20564
20761
  };
20565
- const _hoisted_2$D = { class: "h-full flex flex-row w-full" };
20566
- const _hoisted_3$D = { class: "h-full" };
20762
+ const _hoisted_2$H = { class: "h-full flex flex-row w-full" };
20763
+ const _hoisted_3$H = { class: "h-full" };
20567
20764
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
20568
20765
  __name: "Editor",
20569
20766
  props: {
@@ -20589,18 +20786,18 @@ img.ProseMirror-separator {
20589
20786
  },
20590
20787
  setup(__props) {
20591
20788
  return (_ctx, _cache) => {
20592
- return __props.editor ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
20789
+ return __props.editor ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
20593
20790
  vue.createVNode(_sfc_main$5, {
20594
20791
  editor: __props.editor,
20595
20792
  "menu-items": __props.bubbleMenuItems
20596
20793
  }, null, 8, ["editor", "menu-items"]),
20597
20794
  vue.createVNode(_sfc_main$6, { "menu-items": __props.toolbarMenuItems }, null, 8, ["menu-items"]),
20598
- vue.createElementVNode("div", _hoisted_2$D, [
20795
+ vue.createElementVNode("div", _hoisted_2$H, [
20599
20796
  vue.createVNode(vue.unref(EditorContent), {
20600
20797
  editor: __props.editor,
20601
20798
  class: "editor-content prose prose-base !max-w-none prose-pre:p-0 bg-white prose-p:mt-3 prose-p:mb-3 prose-img:mt-0 prose-img:mb-0"
20602
20799
  }, null, 8, ["editor"]),
20603
- vue.createElementVNode("div", _hoisted_3$D, [
20800
+ vue.createElementVNode("div", _hoisted_3$H, [
20604
20801
  vue.renderSlot(_ctx.$slots, "extra")
20605
20802
  ])
20606
20803
  ])
@@ -20612,7 +20809,7 @@ img.ProseMirror-separator {
20612
20809
  const tailwind = "";
20613
20810
  const style = "";
20614
20811
  const githubDark = "";
20615
- const inputRegex$6 = /^\s*>\s$/;
20812
+ const inputRegex$7 = /^\s*>\s$/;
20616
20813
  const Blockquote = Node.create({
20617
20814
  name: "blockquote",
20618
20815
  addOptions() {
@@ -20652,7 +20849,7 @@ img.ProseMirror-separator {
20652
20849
  addInputRules() {
20653
20850
  return [
20654
20851
  wrappingInputRule({
20655
- find: inputRegex$6,
20852
+ find: inputRegex$7,
20656
20853
  type: this.type
20657
20854
  })
20658
20855
  ];
@@ -20731,7 +20928,7 @@ img.ProseMirror-separator {
20731
20928
  ];
20732
20929
  }
20733
20930
  });
20734
- const inputRegex$5 = /^\s*([-+*])\s$/;
20931
+ const inputRegex$6 = /^\s*([-+*])\s$/;
20735
20932
  const BulletList = Node.create({
20736
20933
  name: "bulletList",
20737
20934
  addOptions() {
@@ -20767,14 +20964,14 @@ img.ProseMirror-separator {
20767
20964
  addInputRules() {
20768
20965
  return [
20769
20966
  wrappingInputRule({
20770
- find: inputRegex$5,
20967
+ find: inputRegex$6,
20771
20968
  type: this.type
20772
20969
  })
20773
20970
  ];
20774
20971
  }
20775
20972
  });
20776
- const inputRegex$4 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20777
- const pasteRegex$1 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20973
+ const inputRegex$5 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))$/;
20974
+ const pasteRegex$2 = /(?:^|\s)((?:`)((?:[^`]+))(?:`))/g;
20778
20975
  const Code = Mark.create({
20779
20976
  name: "code",
20780
20977
  addOptions() {
@@ -20814,7 +21011,7 @@ img.ProseMirror-separator {
20814
21011
  addInputRules() {
20815
21012
  return [
20816
21013
  markInputRule({
20817
- find: inputRegex$4,
21014
+ find: inputRegex$5,
20818
21015
  type: this.type
20819
21016
  })
20820
21017
  ];
@@ -20822,7 +21019,7 @@ img.ProseMirror-separator {
20822
21019
  addPasteRules() {
20823
21020
  return [
20824
21021
  markPasteRule({
20825
- find: pasteRegex$1,
21022
+ find: pasteRegex$2,
20826
21023
  type: this.type
20827
21024
  })
20828
21025
  ];
@@ -23802,7 +23999,7 @@ img.ProseMirror-separator {
23802
23999
  };
23803
24000
  }
23804
24001
  });
23805
- const inputRegex$3 = /^(\d+)\.\s$/;
24002
+ const inputRegex$4 = /^(\d+)\.\s$/;
23806
24003
  const OrderedList = Node.create({
23807
24004
  name: "orderedList",
23808
24005
  addOptions() {
@@ -23851,7 +24048,7 @@ img.ProseMirror-separator {
23851
24048
  addInputRules() {
23852
24049
  return [
23853
24050
  wrappingInputRule({
23854
- find: inputRegex$3,
24051
+ find: inputRegex$4,
23855
24052
  type: this.type,
23856
24053
  getAttributes: (match) => ({ start: +match[1] }),
23857
24054
  joinPredicate: (match, node) => node.childCount + node.attrs.start === +match[1]
@@ -23890,8 +24087,8 @@ img.ProseMirror-separator {
23890
24087
  };
23891
24088
  }
23892
24089
  });
23893
- const inputRegex$2 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
23894
- const pasteRegex = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
24090
+ const inputRegex$3 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))$/;
24091
+ const pasteRegex$1 = /(?:^|\s)((?:~~)((?:[^~]+))(?:~~))/g;
23895
24092
  const Strike = Mark.create({
23896
24093
  name: "strike",
23897
24094
  addOptions() {
@@ -23941,7 +24138,7 @@ img.ProseMirror-separator {
23941
24138
  addInputRules() {
23942
24139
  return [
23943
24140
  markInputRule({
23944
- find: inputRegex$2,
24141
+ find: inputRegex$3,
23945
24142
  type: this.type
23946
24143
  })
23947
24144
  ];
@@ -23949,7 +24146,7 @@ img.ProseMirror-separator {
23949
24146
  addPasteRules() {
23950
24147
  return [
23951
24148
  markPasteRule({
23952
- find: pasteRegex,
24149
+ find: pasteRegex$1,
23953
24150
  type: this.type
23954
24151
  })
23955
24152
  ];
@@ -23995,7 +24192,7 @@ img.ProseMirror-separator {
23995
24192
  };
23996
24193
  }
23997
24194
  });
23998
- const inputRegex$1 = /^\s*(\[([( |x])?\])\s$/;
24195
+ const inputRegex$2 = /^\s*(\[([( |x])?\])\s$/;
23999
24196
  const TaskItem = Node.create({
24000
24197
  name: "taskItem",
24001
24198
  addOptions() {
@@ -24126,7 +24323,7 @@ img.ProseMirror-separator {
24126
24323
  addInputRules() {
24127
24324
  return [
24128
24325
  wrappingInputRule({
24129
- find: inputRegex$1,
24326
+ find: inputRegex$2,
24130
24327
  type: this.type,
24131
24328
  getAttributes: (match) => ({
24132
24329
  checked: match[match.length - 1] === "x"
@@ -25366,6 +25563,81 @@ img.ProseMirror-separator {
25366
25563
  ];
25367
25564
  }
25368
25565
  });
25566
+ const inputRegex$1 = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))$/;
25567
+ const pasteRegex = /(?:^|\s)((?:==)((?:[^~=]+))(?:==))/g;
25568
+ const Highlight = Mark.create({
25569
+ name: "highlight",
25570
+ addOptions() {
25571
+ return {
25572
+ multicolor: false,
25573
+ HTMLAttributes: {}
25574
+ };
25575
+ },
25576
+ addAttributes() {
25577
+ if (!this.options.multicolor) {
25578
+ return {};
25579
+ }
25580
+ return {
25581
+ color: {
25582
+ default: null,
25583
+ parseHTML: (element) => element.getAttribute("data-color") || element.style.backgroundColor,
25584
+ renderHTML: (attributes) => {
25585
+ if (!attributes.color) {
25586
+ return {};
25587
+ }
25588
+ return {
25589
+ "data-color": attributes.color,
25590
+ style: `background-color: ${attributes.color}; color: inherit`
25591
+ };
25592
+ }
25593
+ }
25594
+ };
25595
+ },
25596
+ parseHTML() {
25597
+ return [
25598
+ {
25599
+ tag: "mark"
25600
+ }
25601
+ ];
25602
+ },
25603
+ renderHTML({ HTMLAttributes }) {
25604
+ return ["mark", mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0];
25605
+ },
25606
+ addCommands() {
25607
+ return {
25608
+ setHighlight: (attributes) => ({ commands: commands2 }) => {
25609
+ return commands2.setMark(this.name, attributes);
25610
+ },
25611
+ toggleHighlight: (attributes) => ({ commands: commands2 }) => {
25612
+ return commands2.toggleMark(this.name, attributes);
25613
+ },
25614
+ unsetHighlight: () => ({ commands: commands2 }) => {
25615
+ return commands2.unsetMark(this.name);
25616
+ }
25617
+ };
25618
+ },
25619
+ addKeyboardShortcuts() {
25620
+ return {
25621
+ "Mod-Shift-h": () => this.editor.commands.toggleHighlight()
25622
+ };
25623
+ },
25624
+ addInputRules() {
25625
+ return [
25626
+ markInputRule({
25627
+ find: inputRegex$1,
25628
+ type: this.type
25629
+ })
25630
+ ];
25631
+ },
25632
+ addPasteRules() {
25633
+ return [
25634
+ markPasteRule({
25635
+ find: pasteRegex,
25636
+ type: this.type
25637
+ })
25638
+ ];
25639
+ }
25640
+ });
25369
25641
  function findSuggestionMatch(config2) {
25370
25642
  var _a2;
25371
25643
  const { char, allowSpaces, allowedPrefixes, startOfLine, $position } = config2;
@@ -25586,9 +25858,9 @@ img.ProseMirror-separator {
25586
25858
  ];
25587
25859
  }
25588
25860
  });
25589
- const _hoisted_1$D = { class: "command-items" };
25590
- const _hoisted_2$C = ["id", "onClick"];
25591
- const _hoisted_3$C = { class: "command-title group-hover:text-gray-900 group-hover:font-medium" };
25861
+ const _hoisted_1$H = { class: "command-items" };
25862
+ const _hoisted_2$G = ["id", "onClick"];
25863
+ const _hoisted_3$G = { class: "command-title group-hover:text-gray-900 group-hover:font-medium" };
25592
25864
  const _hoisted_4 = {
25593
25865
  key: 1,
25594
25866
  class: "command-empty"
@@ -25664,7 +25936,7 @@ img.ProseMirror-separator {
25664
25936
  onKeyDown
25665
25937
  });
25666
25938
  return (_ctx, _cache) => {
25667
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
25939
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
25668
25940
  __props.items.length ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(__props.items, (item, index2) => {
25669
25941
  return vue.openBlock(), vue.createElementBlock("div", {
25670
25942
  id: `command-item-${index2}`,
@@ -25673,14 +25945,78 @@ img.ProseMirror-separator {
25673
25945
  onClick: ($event) => handleSelectItem(index2)
25674
25946
  }, [
25675
25947
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), { class: "command-icon group-hover:!bg-white" })),
25676
- vue.createElementVNode("span", _hoisted_3$C, vue.toDisplayString(item.title), 1)
25677
- ], 10, _hoisted_2$C);
25948
+ vue.createElementVNode("span", _hoisted_3$G, vue.toDisplayString(item.title), 1)
25949
+ ], 10, _hoisted_2$G);
25678
25950
  }), 128)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, _hoisted_6))
25679
25951
  ]);
25680
25952
  };
25681
25953
  }
25682
25954
  });
25683
25955
  const CommandsView_vue_vue_type_style_index_0_lang = "";
25956
+ const _hoisted_1$G = {
25957
+ viewBox: "0 0 24 24",
25958
+ width: "1.2em",
25959
+ height: "1.2em"
25960
+ };
25961
+ const _hoisted_2$F = /* @__PURE__ */ vue.createElementVNode("path", {
25962
+ fill: "currentColor",
25963
+ d: "M13 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2v6H9V4h4m0 6a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2v4h2Z"
25964
+ }, null, -1);
25965
+ const _hoisted_3$F = [
25966
+ _hoisted_2$F
25967
+ ];
25968
+ function render$D(_ctx, _cache) {
25969
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$G, _hoisted_3$F);
25970
+ }
25971
+ const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$D };
25972
+ const _hoisted_1$F = {
25973
+ viewBox: "0 0 24 24",
25974
+ width: "1.2em",
25975
+ height: "1.2em"
25976
+ };
25977
+ const _hoisted_2$E = /* @__PURE__ */ vue.createElementVNode("path", {
25978
+ fill: "currentColor",
25979
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
25980
+ }, null, -1);
25981
+ const _hoisted_3$E = [
25982
+ _hoisted_2$E
25983
+ ];
25984
+ function render$C(_ctx, _cache) {
25985
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$F, _hoisted_3$E);
25986
+ }
25987
+ const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$C };
25988
+ const _hoisted_1$E = {
25989
+ viewBox: "0 0 24 24",
25990
+ width: "1.2em",
25991
+ height: "1.2em"
25992
+ };
25993
+ const _hoisted_2$D = /* @__PURE__ */ vue.createElementVNode("path", {
25994
+ fill: "currentColor",
25995
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m18 14h-6a2 2 0 0 1-2-2c0-.53.2-1 .54-1.36l4.87-5.23c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2a2 2 0 0 0-2 2h-2a4 4 0 0 1 4-4a4 4 0 0 1 4 4c0 1.1-.45 2.1-1.17 2.83L15 16h6v2Z"
25996
+ }, null, -1);
25997
+ const _hoisted_3$D = [
25998
+ _hoisted_2$D
25999
+ ];
26000
+ function render$B(_ctx, _cache) {
26001
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$E, _hoisted_3$D);
26002
+ }
26003
+ const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$B };
26004
+ const _hoisted_1$D = {
26005
+ viewBox: "0 0 24 24",
26006
+ width: "1.2em",
26007
+ height: "1.2em"
26008
+ };
26009
+ const _hoisted_2$C = /* @__PURE__ */ vue.createElementVNode("path", {
26010
+ fill: "currentColor",
26011
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h2v1h4v-4h-4v-2h4V6h-4v1h-2V6a2 2 0 0 1 2-2Z"
26012
+ }, null, -1);
26013
+ const _hoisted_3$C = [
26014
+ _hoisted_2$C
26015
+ ];
26016
+ function render$A(_ctx, _cache) {
26017
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$D, _hoisted_3$C);
26018
+ }
26019
+ const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$A };
25684
26020
  const _hoisted_1$C = {
25685
26021
  viewBox: "0 0 24 24",
25686
26022
  width: "1.2em",
@@ -25688,7 +26024,7 @@ img.ProseMirror-separator {
25688
26024
  };
25689
26025
  const _hoisted_2$B = /* @__PURE__ */ vue.createElementVNode("path", {
25690
26026
  fill: "currentColor",
25691
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m11 14v-2h2V6.31l-2.5 1.44V5.44L16 4h2v12h2v2h-6Z"
26027
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
25692
26028
  }, null, -1);
25693
26029
  const _hoisted_3$B = [
25694
26030
  _hoisted_2$B
@@ -25696,7 +26032,7 @@ img.ProseMirror-separator {
25696
26032
  function render$z(_ctx, _cache) {
25697
26033
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$C, _hoisted_3$B);
25698
26034
  }
25699
- const MdiFormatHeader1 = { name: "mdi-format-header-1", render: render$z };
26035
+ const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$z };
25700
26036
  const _hoisted_1$B = {
25701
26037
  viewBox: "0 0 24 24",
25702
26038
  width: "1.2em",
@@ -25704,7 +26040,7 @@ img.ProseMirror-separator {
25704
26040
  };
25705
26041
  const _hoisted_2$A = /* @__PURE__ */ vue.createElementVNode("path", {
25706
26042
  fill: "currentColor",
25707
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m18 14h-6a2 2 0 0 1-2-2c0-.53.2-1 .54-1.36l4.87-5.23c.37-.36.59-.86.59-1.41a2 2 0 0 0-2-2a2 2 0 0 0-2 2h-2a4 4 0 0 1 4-4a4 4 0 0 1 4 4c0 1.1-.45 2.1-1.17 2.83L15 16h6v2Z"
26043
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h5v2h-5v4h2a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2a2 2 0 0 1-2-2v-1h2v1h2a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z"
25708
26044
  }, null, -1);
25709
26045
  const _hoisted_3$A = [
25710
26046
  _hoisted_2$A
@@ -25712,7 +26048,7 @@ img.ProseMirror-separator {
25712
26048
  function render$y(_ctx, _cache) {
25713
26049
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$B, _hoisted_3$A);
25714
26050
  }
25715
- const MdiFormatHeader2 = { name: "mdi-format-header-2", render: render$y };
26051
+ const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$y };
25716
26052
  const _hoisted_1$A = {
25717
26053
  viewBox: "0 0 24 24",
25718
26054
  width: "1.2em",
@@ -25720,7 +26056,7 @@ img.ProseMirror-separator {
25720
26056
  };
25721
26057
  const _hoisted_2$z = /* @__PURE__ */ vue.createElementVNode("path", {
25722
26058
  fill: "currentColor",
25723
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-1h2v1h4v-4h-4v-2h4V6h-4v1h-2V6a2 2 0 0 1 2-2Z"
26059
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v1h-2V6h-4v4h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 8v4h4v-4h-4Z"
25724
26060
  }, null, -1);
25725
26061
  const _hoisted_3$z = [
25726
26062
  _hoisted_2$z
@@ -25728,7 +26064,7 @@ img.ProseMirror-separator {
25728
26064
  function render$x(_ctx, _cache) {
25729
26065
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$A, _hoisted_3$z);
25730
26066
  }
25731
- const MdiFormatHeader3 = { name: "mdi-format-header-3", render: render$x };
26067
+ const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$x };
25732
26068
  const _hoisted_1$z = {
25733
26069
  viewBox: "0 0 24 24",
25734
26070
  width: "1.2em",
@@ -25736,7 +26072,7 @@ img.ProseMirror-separator {
25736
26072
  };
25737
26073
  const _hoisted_2$y = /* @__PURE__ */ vue.createElementVNode("path", {
25738
26074
  fill: "currentColor",
25739
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m15 14v-5h-5v-2l5-7h2v7h1v2h-1v5h-2m0-7V7.42L15.45 11H18Z"
26075
+ d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 5H9v2c0 1.1-.9 2-2 2c1.1 0 2 .9 2 2v2h2v2H9c-1.1 0-2-.9-2-2v-1c0-1.1-.9-2-2-2v-2c1.1 0 2-.9 2-2V8c0-1.1.9-2 2-2h2v2m8 5c-1.1 0-2 .9-2 2v1c0 1.1-.9 2-2 2h-2v-2h2v-2c0-1.1.9-2 2-2c-1.1 0-2-.9-2-2V8h-2V6h2c1.1 0 2 .9 2 2v1c0 1.1.9 2 2 2v2Z"
25740
26076
  }, null, -1);
25741
26077
  const _hoisted_3$y = [
25742
26078
  _hoisted_2$y
@@ -25744,7 +26080,7 @@ img.ProseMirror-separator {
25744
26080
  function render$w(_ctx, _cache) {
25745
26081
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$z, _hoisted_3$y);
25746
26082
  }
25747
- const MdiFormatHeader4 = { name: "mdi-format-header-4", render: render$w };
26083
+ const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$w };
25748
26084
  const _hoisted_1$y = {
25749
26085
  viewBox: "0 0 24 24",
25750
26086
  width: "1.2em",
@@ -25752,7 +26088,7 @@ img.ProseMirror-separator {
25752
26088
  };
25753
26089
  const _hoisted_2$x = /* @__PURE__ */ vue.createElementVNode("path", {
25754
26090
  fill: "currentColor",
25755
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h5v2h-5v4h2a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2a2 2 0 0 1-2-2v-1h2v1h2a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2Z"
26091
+ d: "M7 5h14v2H7V5m0 8v-2h14v2H7M4 4.5A1.5 1.5 0 0 1 5.5 6A1.5 1.5 0 0 1 4 7.5A1.5 1.5 0 0 1 2.5 6A1.5 1.5 0 0 1 4 4.5m0 6A1.5 1.5 0 0 1 5.5 12A1.5 1.5 0 0 1 4 13.5A1.5 1.5 0 0 1 2.5 12A1.5 1.5 0 0 1 4 10.5M7 19v-2h14v2H7m-3-2.5A1.5 1.5 0 0 1 5.5 18A1.5 1.5 0 0 1 4 19.5A1.5 1.5 0 0 1 2.5 18A1.5 1.5 0 0 1 4 16.5Z"
25756
26092
  }, null, -1);
25757
26093
  const _hoisted_3$x = [
25758
26094
  _hoisted_2$x
@@ -25760,7 +26096,7 @@ img.ProseMirror-separator {
25760
26096
  function render$v(_ctx, _cache) {
25761
26097
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$y, _hoisted_3$x);
25762
26098
  }
25763
- const MdiFormatHeader5 = { name: "mdi-format-header-5", render: render$v };
26099
+ const MdiFormatListBulleted = { name: "mdi-format-list-bulleted", render: render$v };
25764
26100
  const _hoisted_1$x = {
25765
26101
  viewBox: "0 0 24 24",
25766
26102
  width: "1.2em",
@@ -25768,7 +26104,7 @@ img.ProseMirror-separator {
25768
26104
  };
25769
26105
  const _hoisted_2$w = /* @__PURE__ */ vue.createElementVNode("path", {
25770
26106
  fill: "currentColor",
25771
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m12 0h4a2 2 0 0 1 2 2v1h-2V6h-4v4h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 8v4h4v-4h-4Z"
26107
+ d: "M21 19v-2H8v2h13m0-6v-2H8v2h13M8 7h13V5H8v2M4 5v2h2V5H4M3 5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5m1 6v2h2v-2H4m-1 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2m1 6v2h2v-2H4m-1 0a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-2Z"
25772
26108
  }, null, -1);
25773
26109
  const _hoisted_3$w = [
25774
26110
  _hoisted_2$w
@@ -25776,7 +26112,7 @@ img.ProseMirror-separator {
25776
26112
  function render$u(_ctx, _cache) {
25777
26113
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, _hoisted_3$w);
25778
26114
  }
25779
- const MdiFormatHeader6 = { name: "mdi-format-header-6", render: render$u };
26115
+ const MdiFormatListCheckbox = { name: "mdi-format-list-checkbox", render: render$u };
25780
26116
  const _hoisted_1$w = {
25781
26117
  viewBox: "0 0 24 24",
25782
26118
  width: "1.2em",
@@ -25784,7 +26120,7 @@ img.ProseMirror-separator {
25784
26120
  };
25785
26121
  const _hoisted_2$v = /* @__PURE__ */ vue.createElementVNode("path", {
25786
26122
  fill: "currentColor",
25787
- d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-8 5H9v2c0 1.1-.9 2-2 2c1.1 0 2 .9 2 2v2h2v2H9c-1.1 0-2-.9-2-2v-1c0-1.1-.9-2-2-2v-2c1.1 0 2-.9 2-2V8c0-1.1.9-2 2-2h2v2m8 5c-1.1 0-2 .9-2 2v1c0 1.1-.9 2-2 2h-2v-2h2v-2c0-1.1.9-2 2-2c-1.1 0-2-.9-2-2V8h-2V6h2c1.1 0 2 .9 2 2v1c0 1.1.9 2 2 2v2Z"
26123
+ d: "M7 13v-2h14v2H7m0 6v-2h14v2H7M7 7V5h14v2H7M3 8V5H2V4h2v4H3m-1 9v-1h3v4H2v-1h2v-.5H3v-1h1V17H2m2.25-7a.75.75 0 0 1 .75.75c0 .2-.08.39-.21.52L3.12 13H5v1H2v-.92L4 11H2v-1h2.25Z"
25788
26124
  }, null, -1);
25789
26125
  const _hoisted_3$v = [
25790
26126
  _hoisted_2$v
@@ -25792,7 +26128,7 @@ img.ProseMirror-separator {
25792
26128
  function render$t(_ctx, _cache) {
25793
26129
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, _hoisted_3$v);
25794
26130
  }
25795
- const MdiCodeBracesBox = { name: "mdi-code-braces-box", render: render$t };
26131
+ const MdiFormatListNumbered = { name: "mdi-format-list-numbered", render: render$t };
25796
26132
  const _hoisted_1$v = {
25797
26133
  viewBox: "0 0 24 24",
25798
26134
  width: "1.2em",
@@ -25800,7 +26136,7 @@ img.ProseMirror-separator {
25800
26136
  };
25801
26137
  const _hoisted_2$u = /* @__PURE__ */ vue.createElementVNode("path", {
25802
26138
  fill: "currentColor",
25803
- d: "M16.36 14c.08-.66.14-1.32.14-2c0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2c0-.68.06-1.35.16-2h4.68c.09.65.16 1.32.16 2c0 .68-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.923 7.923 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8.008 8.008 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2c0 .68.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.65 15.65 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"
26139
+ d: "M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 4v4h6V8H5m8 0v4h6V8h-6m-8 6v4h6v-4H5m8 0v4h6v-4h-6Z"
25804
26140
  }, null, -1);
25805
26141
  const _hoisted_3$u = [
25806
26142
  _hoisted_2$u
@@ -25808,7 +26144,31 @@ img.ProseMirror-separator {
25808
26144
  function render$s(_ctx, _cache) {
25809
26145
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$v, _hoisted_3$u);
25810
26146
  }
25811
- const MdiWeb = { name: "mdi-web", render: render$s };
26147
+ const MdiTable = { name: "mdi-table", render: render$s };
26148
+ const _hoisted_1$u = {
26149
+ viewBox: "0 0 24 24",
26150
+ width: "1.2em",
26151
+ height: "1.2em"
26152
+ };
26153
+ const _hoisted_2$t = /* @__PURE__ */ vue.createElementVNode("path", {
26154
+ fill: "currentColor",
26155
+ d: "M16.36 14c.08-.66.14-1.32.14-2c0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2m-5.15 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56M14.34 14H9.66c-.1-.66-.16-1.32-.16-2c0-.68.06-1.35.16-2h4.68c.09.65.16 1.32.16 2c0 .68-.07 1.34-.16 2M12 19.96c-.83-1.2-1.5-2.53-1.91-3.96h3.82c-.41 1.43-1.08 2.76-1.91 3.96M8 8H5.08A7.923 7.923 0 0 1 9.4 4.44C8.8 5.55 8.35 6.75 8 8m-2.92 8H8c.35 1.25.8 2.45 1.4 3.56A8.008 8.008 0 0 1 5.08 16m-.82-2C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2c0 .68.06 1.34.14 2M12 4.03c.83 1.2 1.5 2.54 1.91 3.97h-3.82c.41-1.43 1.08-2.77 1.91-3.97M18.92 8h-2.95a15.65 15.65 0 0 0-1.38-3.56c1.84.63 3.37 1.9 4.33 3.56M12 2C6.47 2 2 6.5 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2Z"
26156
+ }, null, -1);
26157
+ const _hoisted_3$t = [
26158
+ _hoisted_2$t
26159
+ ];
26160
+ function render$r(_ctx, _cache) {
26161
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$u, _hoisted_3$t);
26162
+ }
26163
+ const MdiWeb = { name: "mdi-web", render: render$r };
26164
+ const CommentParagraph = {
26165
+ icon: vue.markRaw(MdiFormatParagraph),
26166
+ title: "\u666E\u901A\u6587\u672C",
26167
+ keywords: ["paragraph", "text", "\u666E\u901A\u6587\u672C", "putongwenben"],
26168
+ command: ({ editor, range }) => {
26169
+ editor.chain().focus().deleteRange(range).setParagraph().run();
26170
+ }
26171
+ };
25812
26172
  const CommandHeader1 = {
25813
26173
  icon: vue.markRaw(MdiFormatHeader1),
25814
26174
  title: "\u4E00\u7EA7\u6807\u9898",
@@ -25876,65 +26236,54 @@ img.ProseMirror-separator {
25876
26236
  ]).run();
25877
26237
  }
25878
26238
  };
26239
+ const CommandTable = {
26240
+ icon: vue.markRaw(MdiTable),
26241
+ title: "\u8868\u683C",
26242
+ keywords: ["table", "biaoge"],
26243
+ command: ({ editor, range }) => {
26244
+ editor.chain().focus().deleteRange(range).insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run();
26245
+ }
26246
+ };
26247
+ const CommandBulletList = {
26248
+ icon: vue.markRaw(MdiFormatListBulleted),
26249
+ title: "\u65E0\u5E8F\u5217\u8868",
26250
+ keywords: ["bulletlist", "wuxuliebiao"],
26251
+ command: ({ editor, range }) => {
26252
+ editor.chain().focus().deleteRange(range).toggleBulletList().run();
26253
+ }
26254
+ };
26255
+ const CommandOrderedList = {
26256
+ icon: vue.markRaw(MdiFormatListNumbered),
26257
+ title: "\u6709\u5E8F\u5217\u8868",
26258
+ keywords: ["orderedlist", "youxuliebiao"],
26259
+ command: ({ editor, range }) => {
26260
+ editor.chain().focus().deleteRange(range).toggleOrderedList().run();
26261
+ }
26262
+ };
26263
+ const CommandTaskList = {
26264
+ icon: vue.markRaw(MdiFormatListCheckbox),
26265
+ title: "\u4EFB\u52A1\u5217\u8868",
26266
+ keywords: ["tasklist", "renwuliebiao"],
26267
+ command: ({ editor, range }) => {
26268
+ editor.chain().focus().deleteRange(range).toggleTaskList().run();
26269
+ }
26270
+ };
25879
26271
  const suggestion = {
25880
26272
  items: ({ query }) => {
25881
26273
  return [
25882
- {
25883
- icon: vue.markRaw(MdiFormatHeader1),
25884
- title: "\u4E00\u7EA7\u6807\u9898",
25885
- keywords: ["h1", "header1", "1", "yijibiaoti"],
25886
- command: ({ editor, range }) => {
25887
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 1 }).run();
25888
- }
25889
- },
25890
- {
25891
- icon: vue.markRaw(MdiFormatHeader2),
25892
- title: "\u4E8C\u7EA7\u6807\u9898",
25893
- keywords: ["h2", "header2", "2", "erjibiaoti"],
25894
- command: ({ editor, range }) => {
25895
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 2 }).run();
25896
- }
25897
- },
25898
- {
25899
- icon: vue.markRaw(MdiFormatHeader3),
25900
- title: "\u4E09\u7EA7\u6807\u9898",
25901
- keywords: ["h3", "header3", "3", "sanjibiaoti"],
25902
- command: ({ editor, range }) => {
25903
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 3 }).run();
25904
- }
25905
- },
25906
- {
25907
- icon: vue.markRaw(MdiFormatHeader4),
25908
- title: "\u56DB\u7EA7\u6807\u9898",
25909
- keywords: ["h4", "header4", "4", "sijibiaoti"],
25910
- command: ({ editor, range }) => {
25911
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 4 }).run();
25912
- }
25913
- },
25914
- {
25915
- icon: vue.markRaw(MdiFormatHeader5),
25916
- title: "\u4E94\u7EA7\u6807\u9898",
25917
- keywords: ["h5", "header5", "5", "wujibiaoti"],
25918
- command: ({ editor, range }) => {
25919
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 5 }).run();
25920
- }
25921
- },
25922
- {
25923
- icon: vue.markRaw(MdiFormatHeader6),
25924
- title: "\u516D\u7EA7\u6807\u9898",
25925
- keywords: ["h6", "header6", "6", "liujibiaoti"],
25926
- command: ({ editor, range }) => {
25927
- editor.chain().focus().deleteRange(range).setNode("heading", { level: 6 }).run();
25928
- }
25929
- },
25930
- {
25931
- icon: vue.markRaw(MdiCodeBracesBox),
25932
- title: "\u4EE3\u7801\u5757",
25933
- keywords: ["codeblock", "daimakuai"],
25934
- command: ({ editor, range }) => {
25935
- editor.chain().focus().deleteRange(range).setCodeBlock().run();
25936
- }
25937
- }
26274
+ CommentParagraph,
26275
+ CommandHeader1,
26276
+ CommandHeader2,
26277
+ CommandHeader3,
26278
+ CommandHeader4,
26279
+ CommandHeader5,
26280
+ CommandHeader6,
26281
+ CommandCodeBlock,
26282
+ CommandTable,
26283
+ CommandBulletList,
26284
+ CommandOrderedList,
26285
+ CommandTaskList,
26286
+ CommandIframe
25938
26287
  ].filter(
25939
26288
  (item) => [...item.keywords, item.title].some(
25940
26289
  (keyword) => keyword.includes(query)
@@ -41000,9 +41349,9 @@ img.ProseMirror-separator {
41000
41349
  lowlight$1.registerLanguage("xml", xml);
41001
41350
  lowlight$1.registerLanguage("yaml", yaml);
41002
41351
  const lowlight = lowlight$1;
41003
- const _hoisted_1$u = { class: "px-2 py-1.5" };
41004
- const _hoisted_2$t = /* @__PURE__ */ vue.createElementVNode("option", { value: null }, "auto", -1);
41005
- const _hoisted_3$t = ["value"];
41352
+ const _hoisted_1$t = { class: "px-2 py-1.5" };
41353
+ const _hoisted_2$s = /* @__PURE__ */ vue.createElementVNode("option", { value: null }, "auto", -1);
41354
+ const _hoisted_3$s = ["value"];
41006
41355
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
41007
41356
  __name: "CodeBlockViewRenderer",
41008
41357
  props: {
@@ -41032,18 +41381,18 @@ img.ProseMirror-separator {
41032
41381
  return (_ctx, _cache) => {
41033
41382
  return vue.openBlock(), vue.createBlock(vue.unref(NodeViewWrapper), { class: "code-block divide-gray-100 bg-gray-100 overflow-hidden rounded-md my-3" }, {
41034
41383
  default: vue.withCtx(() => [
41035
- vue.createElementVNode("div", _hoisted_1$u, [
41384
+ vue.createElementVNode("div", _hoisted_1$t, [
41036
41385
  vue.withDirectives(vue.createElementVNode("select", {
41037
41386
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(selectedLanguage) ? selectedLanguage.value = $event : null),
41038
41387
  contenteditable: "false",
41039
41388
  class: "block px-2 py-1.5 text-sm text-gray-900 border border-gray-300 rounded-md bg-gray-50 focus:ring-blue-500 focus:border-blue-500"
41040
41389
  }, [
41041
- _hoisted_2$t,
41390
+ _hoisted_2$s,
41042
41391
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(languages), (language, index2) => {
41043
41392
  return vue.openBlock(), vue.createElementBlock("option", {
41044
41393
  key: index2,
41045
41394
  value: language
41046
- }, vue.toDisplayString(language), 9, _hoisted_3$t);
41395
+ }, vue.toDisplayString(language), 9, _hoisted_3$s);
41047
41396
  }), 128))
41048
41397
  ], 512), [
41049
41398
  [vue.vModelSelect, vue.unref(selectedLanguage)]
@@ -41065,9 +41414,9 @@ img.ProseMirror-separator {
41065
41414
  return VueNodeViewRenderer(_sfc_main$2);
41066
41415
  }
41067
41416
  });
41068
- const _hoisted_1$t = { class: "block w-full relative" };
41069
- const _hoisted_2$s = { class: "px-2 py-1.5" };
41070
- const _hoisted_3$s = ["src", "width", "height"];
41417
+ const _hoisted_1$s = { class: "block w-full relative" };
41418
+ const _hoisted_2$r = { class: "px-2 py-1.5" };
41419
+ const _hoisted_3$r = ["src", "width", "height"];
41071
41420
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
41072
41421
  __name: "IframeView",
41073
41422
  props: {
@@ -41097,8 +41446,8 @@ img.ProseMirror-separator {
41097
41446
  class: "divide-gray-100 bg-gray-100 overflow-hidden rounded-md w-full my-3"
41098
41447
  }, {
41099
41448
  default: vue.withCtx(() => [
41100
- vue.createElementVNode("div", _hoisted_1$t, [
41101
- vue.createElementVNode("div", _hoisted_2$s, [
41449
+ vue.createElementVNode("div", _hoisted_1$s, [
41450
+ vue.createElementVNode("div", _hoisted_2$r, [
41102
41451
  vue.withDirectives(vue.createElementVNode("input", {
41103
41452
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(src) ? src.value = $event : null),
41104
41453
  class: "block px-2 w-full py-1.5 text-sm text-gray-900 border border-gray-300 rounded-md bg-gray-50 focus:ring-blue-500 focus:border-blue-500",
@@ -41118,7 +41467,7 @@ img.ProseMirror-separator {
41118
41467
  frameborder: "no",
41119
41468
  framespacing: "0",
41120
41469
  allowfullscreen: "true"
41121
- }, null, 8, _hoisted_3$s)) : vue.createCommentVNode("", true)
41470
+ }, null, 8, _hoisted_3$r)) : vue.createCommentVNode("", true)
41122
41471
  ])
41123
41472
  ]),
41124
41473
  _: 1
@@ -41463,7 +41812,7 @@ img.ProseMirror-separator {
41463
41812
  __spreadValues({
41464
41813
  linear: identity
41465
41814
  }, _TransitionPresets);
41466
- const _hoisted_1$s = ["src", "title", "alt"];
41815
+ const _hoisted_1$r = ["src", "title", "alt"];
41467
41816
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
41468
41817
  __name: "ImageView",
41469
41818
  props: {
@@ -41515,7 +41864,7 @@ img.ProseMirror-separator {
41515
41864
  title: __props.node.attrs.title,
41516
41865
  alt: vue.unref(alt),
41517
41866
  class: "w-full h-full"
41518
- }, null, 8, _hoisted_1$s)
41867
+ }, null, 8, _hoisted_1$r)
41519
41868
  ], 6)
41520
41869
  ]),
41521
41870
  _: 1
@@ -43836,6 +44185,7 @@ img.ProseMirror-separator {
43836
44185
  Image,
43837
44186
  TaskList,
43838
44187
  TaskItem,
44188
+ Highlight,
43839
44189
  Link.configure({
43840
44190
  autolink: true,
43841
44191
  openOnClick: false
@@ -43860,22 +44210,6 @@ img.ProseMirror-separator {
43860
44210
  }),
43861
44211
  Iframe
43862
44212
  ];
43863
- const _hoisted_1$r = {
43864
- viewBox: "0 0 24 24",
43865
- width: "1.2em",
43866
- height: "1.2em"
43867
- };
43868
- const _hoisted_2$r = /* @__PURE__ */ vue.createElementVNode("path", {
43869
- fill: "currentColor",
43870
- d: "M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42Z"
43871
- }, null, -1);
43872
- const _hoisted_3$r = [
43873
- _hoisted_2$r
43874
- ];
43875
- function render$r(_ctx, _cache) {
43876
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$r, _hoisted_3$r);
43877
- }
43878
- const MdiFormatBold = { name: "mdi-format-bold", render: render$r };
43879
44213
  const _hoisted_1$q = {
43880
44214
  viewBox: "0 0 24 24",
43881
44215
  width: "1.2em",
@@ -43883,7 +44217,7 @@ img.ProseMirror-separator {
43883
44217
  };
43884
44218
  const _hoisted_2$q = /* @__PURE__ */ vue.createElementVNode("path", {
43885
44219
  fill: "currentColor",
43886
- d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
44220
+ d: "M13.5 15.5H10v-3h3.5A1.5 1.5 0 0 1 15 14a1.5 1.5 0 0 1-1.5 1.5m-3.5-9h3A1.5 1.5 0 0 1 14.5 8A1.5 1.5 0 0 1 13 9.5h-3m5.6 1.29c.97-.68 1.65-1.79 1.65-2.79c0-2.26-1.75-4-4-4H7v14h7.04c2.1 0 3.71-1.7 3.71-3.79c0-1.52-.86-2.82-2.15-3.42Z"
43887
44221
  }, null, -1);
43888
44222
  const _hoisted_3$q = [
43889
44223
  _hoisted_2$q
@@ -43891,7 +44225,7 @@ img.ProseMirror-separator {
43891
44225
  function render$q(_ctx, _cache) {
43892
44226
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$q, _hoisted_3$q);
43893
44227
  }
43894
- const MdiFormatItalic = { name: "mdi-format-italic", render: render$q };
44228
+ const MdiFormatBold = { name: "mdi-format-bold", render: render$q };
43895
44229
  const _hoisted_1$p = {
43896
44230
  viewBox: "0 0 24 24",
43897
44231
  width: "1.2em",
@@ -43899,7 +44233,7 @@ img.ProseMirror-separator {
43899
44233
  };
43900
44234
  const _hoisted_2$p = /* @__PURE__ */ vue.createElementVNode("path", {
43901
44235
  fill: "currentColor",
43902
- d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
44236
+ d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4h-8Z"
43903
44237
  }, null, -1);
43904
44238
  const _hoisted_3$p = [
43905
44239
  _hoisted_2$p
@@ -43907,7 +44241,7 @@ img.ProseMirror-separator {
43907
44241
  function render$p(_ctx, _cache) {
43908
44242
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$p, _hoisted_3$p);
43909
44243
  }
43910
- const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$p };
44244
+ const MdiFormatItalic = { name: "mdi-format-italic", render: render$p };
43911
44245
  const _hoisted_1$o = {
43912
44246
  viewBox: "0 0 24 24",
43913
44247
  width: "1.2em",
@@ -43915,7 +44249,7 @@ img.ProseMirror-separator {
43915
44249
  };
43916
44250
  const _hoisted_2$o = /* @__PURE__ */ vue.createElementVNode("path", {
43917
44251
  fill: "currentColor",
43918
- d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m10 4h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H23v2h-1.9l-.2 2H23v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H13v-2h1.9l.2-2H13V8m4.1 2l-.2 2h2l.2-2h-2Z"
44252
+ d: "M3 14h18v-2H3m2-8v3h5v3h4V7h5V4m-9 15h4v-3h-4v3Z"
43919
44253
  }, null, -1);
43920
44254
  const _hoisted_3$o = [
43921
44255
  _hoisted_2$o
@@ -43923,7 +44257,7 @@ img.ProseMirror-separator {
43923
44257
  function render$o(_ctx, _cache) {
43924
44258
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$o, _hoisted_3$o);
43925
44259
  }
43926
- const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$o };
44260
+ const MdiFormatStrikethrough = { name: "mdi-format-strikethrough", render: render$o };
43927
44261
  const _hoisted_1$n = {
43928
44262
  viewBox: "0 0 24 24",
43929
44263
  width: "1.2em",
@@ -43931,7 +44265,7 @@ img.ProseMirror-separator {
43931
44265
  };
43932
44266
  const _hoisted_2$n = /* @__PURE__ */ vue.createElementVNode("path", {
43933
44267
  fill: "currentColor",
43934
- d: "M13 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4h-2v6H9V4h4m0 6a2 2 0 0 0 2-2a2 2 0 0 0-2-2h-2v4h2Z"
44268
+ d: "M3 4h2v6h4V4h2v14H9v-6H5v6H3V4m10 4h2.31l.32-3h2l-.32 3h2l.32-3h2l-.32 3H23v2h-1.9l-.2 2H23v2h-2.31l-.32 3h-2l.32-3h-2l-.32 3h-2l.32-3H13v-2h1.9l.2-2H13V8m4.1 2l-.2 2h2l.2-2h-2Z"
43935
44269
  }, null, -1);
43936
44270
  const _hoisted_3$n = [
43937
44271
  _hoisted_2$n
@@ -43939,7 +44273,7 @@ img.ProseMirror-separator {
43939
44273
  function render$n(_ctx, _cache) {
43940
44274
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$n, _hoisted_3$n);
43941
44275
  }
43942
- const MdiFormatParagraph = { name: "mdi-format-paragraph", render: render$n };
44276
+ const MdiFormatHeaderPound = { name: "mdi-format-header-pound", render: render$n };
43943
44277
  const _hoisted_1$m = {
43944
44278
  viewBox: "0 0 24 24",
43945
44279
  width: "1.2em",
@@ -44123,7 +44457,7 @@ img.ProseMirror-separator {
44123
44457
  };
44124
44458
  const _hoisted_2$b = /* @__PURE__ */ vue.createElementVNode("path", {
44125
44459
  fill: "currentColor",
44126
- d: "M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2m0 4v4h6V8H5m8 0v4h6V8h-6m-8 6v4h6v-4H5m8 0v4h6v-4h-6Z"
44460
+ d: "M18 14h2v3h3v2h-3v3h-2v-3h-3v-2h3v-3M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44127
44461
  }, null, -1);
44128
44462
  const _hoisted_3$b = [
44129
44463
  _hoisted_2$b
@@ -44131,7 +44465,7 @@ img.ProseMirror-separator {
44131
44465
  function render$b(_ctx, _cache) {
44132
44466
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$b, _hoisted_3$b);
44133
44467
  }
44134
- const MdiTable = { name: "mdi-table", render: render$b };
44468
+ const MdiTablePlus = { name: "mdi-table-plus", render: render$b };
44135
44469
  const _hoisted_1$a = {
44136
44470
  viewBox: "0 0 24 24",
44137
44471
  width: "1.2em",
@@ -44139,7 +44473,7 @@ img.ProseMirror-separator {
44139
44473
  };
44140
44474
  const _hoisted_2$a = /* @__PURE__ */ vue.createElementVNode("path", {
44141
44475
  fill: "currentColor",
44142
- d: "M18 14h2v3h3v2h-3v3h-2v-3h-3v-2h3v-3M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44476
+ d: "M13 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9V2h-9m7 8v4h-7v-4h7m0 6v4h-7v-4h7m0-12v4h-7V4h7M9 11H6V8H4v3H1v2h3v3h2v-3h3v-2Z"
44143
44477
  }, null, -1);
44144
44478
  const _hoisted_3$a = [
44145
44479
  _hoisted_2$a
@@ -44147,7 +44481,7 @@ img.ProseMirror-separator {
44147
44481
  function render$a(_ctx, _cache) {
44148
44482
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$a, _hoisted_3$a);
44149
44483
  }
44150
- const MdiTablePlus = { name: "mdi-table-plus", render: render$a };
44484
+ const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$a };
44151
44485
  const _hoisted_1$9 = {
44152
44486
  viewBox: "0 0 24 24",
44153
44487
  width: "1.2em",
@@ -44155,7 +44489,7 @@ img.ProseMirror-separator {
44155
44489
  };
44156
44490
  const _hoisted_2$9 = /* @__PURE__ */ vue.createElementVNode("path", {
44157
44491
  fill: "currentColor",
44158
- d: "M13 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h9V2h-9m7 8v4h-7v-4h7m0 6v4h-7v-4h7m0-12v4h-7V4h7M9 11H6V8H4v3H1v2h3v3h2v-3h3v-2Z"
44492
+ d: "M11 2a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2V2h9m-7 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m11 7h3V8h2v3h3v2h-3v3h-2v-3h-3v-2Z"
44159
44493
  }, null, -1);
44160
44494
  const _hoisted_3$9 = [
44161
44495
  _hoisted_2$9
@@ -44163,7 +44497,7 @@ img.ProseMirror-separator {
44163
44497
  function render$9(_ctx, _cache) {
44164
44498
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$9, _hoisted_3$9);
44165
44499
  }
44166
- const MdiTableColumnPlusBefore = { name: "mdi-table-column-plus-before", render: render$9 };
44500
+ const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$9 };
44167
44501
  const _hoisted_1$8 = {
44168
44502
  viewBox: "0 0 24 24",
44169
44503
  width: "1.2em",
@@ -44171,7 +44505,7 @@ img.ProseMirror-separator {
44171
44505
  };
44172
44506
  const _hoisted_2$8 = /* @__PURE__ */ vue.createElementVNode("path", {
44173
44507
  fill: "currentColor",
44174
- d: "M11 2a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2V2h9m-7 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m11 7h3V8h2v3h3v2h-3v3h-2v-3h-3v-2Z"
44508
+ d: "M22 10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h2v2h4V3h2v2h4V3h2v2h4V3h2v7M4 10h4V7H4v3m6 0h4V7h-4v3m10 0V7h-4v3h4m-9 4h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z"
44175
44509
  }, null, -1);
44176
44510
  const _hoisted_3$8 = [
44177
44511
  _hoisted_2$8
@@ -44179,7 +44513,7 @@ img.ProseMirror-separator {
44179
44513
  function render$8(_ctx, _cache) {
44180
44514
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$8, _hoisted_3$8);
44181
44515
  }
44182
- const MdiTableColumnPlusAfter = { name: "mdi-table-column-plus-after", render: render$8 };
44516
+ const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$8 };
44183
44517
  const _hoisted_1$7 = {
44184
44518
  viewBox: "0 0 24 24",
44185
44519
  width: "1.2em",
@@ -44187,7 +44521,7 @@ img.ProseMirror-separator {
44187
44521
  };
44188
44522
  const _hoisted_2$7 = /* @__PURE__ */ vue.createElementVNode("path", {
44189
44523
  fill: "currentColor",
44190
- d: "M22 10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h2v2h4V3h2v2h4V3h2v2h4V3h2v7M4 10h4V7H4v3m6 0h4V7h-4v3m10 0V7h-4v3h4m-9 4h2v3h3v2h-3v3h-2v-3H8v-2h3v-3Z"
44524
+ d: "M22 14a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7h2v-2h4v2h2v-2h4v2h2v-2h4v2h2v-7M4 14h4v3H4v-3m6 0h4v3h-4v-3m10 0v3h-4v-3h4m-9-4h2V7h3V5h-3V2h-2v3H8v2h3v3Z"
44191
44525
  }, null, -1);
44192
44526
  const _hoisted_3$7 = [
44193
44527
  _hoisted_2$7
@@ -44195,7 +44529,7 @@ img.ProseMirror-separator {
44195
44529
  function render$7(_ctx, _cache) {
44196
44530
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
44197
44531
  }
44198
- const MdiTableRowPlusAfter = { name: "mdi-table-row-plus-after", render: render$7 };
44532
+ const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$7 };
44199
44533
  const _hoisted_1$6 = {
44200
44534
  viewBox: "0 0 24 24",
44201
44535
  width: "1.2em",
@@ -44203,7 +44537,7 @@ img.ProseMirror-separator {
44203
44537
  };
44204
44538
  const _hoisted_2$6 = /* @__PURE__ */ vue.createElementVNode("path", {
44205
44539
  fill: "currentColor",
44206
- d: "M22 14a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7h2v-2h4v2h2v-2h4v2h2v-2h4v2h2v-7M4 14h4v3H4v-3m6 0h4v3h-4v-3m10 0v3h-4v-3h4m-9-4h2V7h3V5h-3V2h-2v3H8v2h3v3Z"
44540
+ d: "M4 2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m0 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m13.59 8L15 9.41L16.41 8L19 10.59L21.59 8L23 9.41L20.41 12L23 14.59L21.59 16L19 13.41L16.41 16L15 14.59L17.59 12Z"
44207
44541
  }, null, -1);
44208
44542
  const _hoisted_3$6 = [
44209
44543
  _hoisted_2$6
@@ -44211,7 +44545,7 @@ img.ProseMirror-separator {
44211
44545
  function render$6(_ctx, _cache) {
44212
44546
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$6, _hoisted_3$6);
44213
44547
  }
44214
- const MdiTableRowPlusBefore = { name: "mdi-table-row-plus-before", render: render$6 };
44548
+ const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$6 };
44215
44549
  const _hoisted_1$5 = {
44216
44550
  viewBox: "0 0 24 24",
44217
44551
  width: "1.2em",
@@ -44219,7 +44553,7 @@ img.ProseMirror-separator {
44219
44553
  };
44220
44554
  const _hoisted_2$5 = /* @__PURE__ */ vue.createElementVNode("path", {
44221
44555
  fill: "currentColor",
44222
- d: "M4 2h7a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2m0 8v4h7v-4H4m0 6v4h7v-4H4M4 4v4h7V4H4m13.59 8L15 9.41L16.41 8L19 10.59L21.59 8L23 9.41L20.41 12L23 14.59L21.59 16L19 13.41L16.41 16L15 14.59L17.59 12Z"
44556
+ d: "M9.41 13L12 15.59L14.59 13L16 14.41L13.41 17L16 19.59L14.59 21L12 18.41L9.41 21L8 19.59L10.59 17L8 14.41L9.41 13M22 9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3M4 9h4V6H4v3m6 0h4V6h-4v3m6 0h4V6h-4v3Z"
44223
44557
  }, null, -1);
44224
44558
  const _hoisted_3$5 = [
44225
44559
  _hoisted_2$5
@@ -44227,7 +44561,7 @@ img.ProseMirror-separator {
44227
44561
  function render$5(_ctx, _cache) {
44228
44562
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
44229
44563
  }
44230
- const MdiTableColumnRemove = { name: "mdi-table-column-remove", render: render$5 };
44564
+ const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$5 };
44231
44565
  const _hoisted_1$4 = {
44232
44566
  viewBox: "0 0 24 24",
44233
44567
  width: "1.2em",
@@ -44235,7 +44569,7 @@ img.ProseMirror-separator {
44235
44569
  };
44236
44570
  const _hoisted_2$4 = /* @__PURE__ */ vue.createElementVNode("path", {
44237
44571
  fill: "currentColor",
44238
- d: "M9.41 13L12 15.59L14.59 13L16 14.41L13.41 17L16 19.59L14.59 21L12 18.41L9.41 21L8 19.59L10.59 17L8 14.41L9.41 13M22 9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v3M4 9h4V6H4v3m6 0h4V6h-4v3m6 0h4V6h-4v3Z"
44572
+ d: "m15.46 15.88l1.42-1.42L19 16.59l2.12-2.13l1.42 1.42L20.41 18l2.13 2.12l-1.42 1.42L19 19.41l-2.12 2.13l-1.42-1.42L17.59 18l-2.13-2.12M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44239
44573
  }, null, -1);
44240
44574
  const _hoisted_3$4 = [
44241
44575
  _hoisted_2$4
@@ -44243,7 +44577,7 @@ img.ProseMirror-separator {
44243
44577
  function render$4(_ctx, _cache) {
44244
44578
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$4, _hoisted_3$4);
44245
44579
  }
44246
- const MdiTableRowRemove = { name: "mdi-table-row-remove", render: render$4 };
44580
+ const MdiTableRemove = { name: "mdi-table-remove", render: render$4 };
44247
44581
  const _hoisted_1$3 = {
44248
44582
  viewBox: "0 0 24 24",
44249
44583
  width: "1.2em",
@@ -44251,7 +44585,7 @@ img.ProseMirror-separator {
44251
44585
  };
44252
44586
  const _hoisted_2$3 = /* @__PURE__ */ vue.createElementVNode("path", {
44253
44587
  fill: "currentColor",
44254
- d: "m15.46 15.88l1.42-1.42L19 16.59l2.12-2.13l1.42 1.42L20.41 18l2.13 2.12l-1.42 1.42L19 19.41l-2.12 2.13l-1.42-1.42L17.59 18l-2.13-2.12M4 3h14a2 2 0 0 1 2 2v7.08a6.01 6.01 0 0 0-4.32.92H12v4h1.08c-.11.68-.11 1.35 0 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m0 4v4h6V7H4m8 0v4h6V7h-6m-8 6v4h6v-4H4Z"
44588
+ d: "M1 6v13a2 2 0 0 0 2 2h6V11h12V6a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2m2 0h4v3H3m4 10H3v-3h4m0-2H3v-3h4m2-2V6h4v3m6 0h-4V6h4m-2 10a1 1 0 1 1-1 1a1 1 0 0 1 1-1m0-3a6.45 6.45 0 0 1 6 4a6.5 6.5 0 0 1-12 0a6.45 6.45 0 0 1 6-4m0 1.5a2.5 2.5 0 1 0 2.5 2.5a2.5 2.5 0 0 0-2.5-2.5"
44255
44589
  }, null, -1);
44256
44590
  const _hoisted_3$3 = [
44257
44591
  _hoisted_2$3
@@ -44259,7 +44593,7 @@ img.ProseMirror-separator {
44259
44593
  function render$3(_ctx, _cache) {
44260
44594
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$3, _hoisted_3$3);
44261
44595
  }
44262
- const MdiTableRemove = { name: "mdi-table-remove", render: render$3 };
44596
+ const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$3 };
44263
44597
  const _hoisted_1$2 = {
44264
44598
  viewBox: "0 0 24 24",
44265
44599
  width: "1.2em",
@@ -44267,7 +44601,7 @@ img.ProseMirror-separator {
44267
44601
  };
44268
44602
  const _hoisted_2$2 = /* @__PURE__ */ vue.createElementVNode("path", {
44269
44603
  fill: "currentColor",
44270
- d: "M1 6v13a2 2 0 0 0 2 2h6V11h12V6a2 2 0 0 0-2-2H3a2 2 0 0 0-2 2m2 0h4v3H3m4 10H3v-3h4m0-2H3v-3h4m2-2V6h4v3m6 0h-4V6h4m-2 10a1 1 0 1 1-1 1a1 1 0 0 1 1-1m0-3a6.45 6.45 0 0 1 6 4a6.5 6.5 0 0 1-12 0a6.45 6.45 0 0 1 6-4m0 1.5a2.5 2.5 0 1 0 2.5 2.5a2.5 2.5 0 0 0-2.5-2.5"
44604
+ d: "M5 10H3V4h8v2H5v4m14 8h-6v2h8v-6h-2v4M5 18v-4H3v6h8v-2H5M21 4h-8v2h6v4h2V4M8 13v2l3-3l-3-3v2H3v2h5m8-2V9l-3 3l3 3v-2h5v-2h-5Z"
44271
44605
  }, null, -1);
44272
44606
  const _hoisted_3$2 = [
44273
44607
  _hoisted_2$2
@@ -44275,7 +44609,7 @@ img.ProseMirror-separator {
44275
44609
  function render$2(_ctx, _cache) {
44276
44610
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$2, _hoisted_3$2);
44277
44611
  }
44278
- const MdiTableHeadersEye = { name: "mdi-table-headers-eye", render: render$2 };
44612
+ const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$2 };
44279
44613
  const _hoisted_1$1 = {
44280
44614
  viewBox: "0 0 24 24",
44281
44615
  width: "1.2em",
@@ -44283,7 +44617,7 @@ img.ProseMirror-separator {
44283
44617
  };
44284
44618
  const _hoisted_2$1 = /* @__PURE__ */ vue.createElementVNode("path", {
44285
44619
  fill: "currentColor",
44286
- d: "M5 10H3V4h8v2H5v4m14 8h-6v2h8v-6h-2v4M5 18v-4H3v6h8v-2H5M21 4h-8v2h6v4h2V4M8 13v2l3-3l-3-3v2H3v2h5m8-2V9l-3 3l3 3v-2h5v-2h-5Z"
44620
+ d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44287
44621
  }, null, -1);
44288
44622
  const _hoisted_3$1 = [
44289
44623
  _hoisted_2$1
@@ -44291,7 +44625,7 @@ img.ProseMirror-separator {
44291
44625
  function render$1(_ctx, _cache) {
44292
44626
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1, _hoisted_3$1);
44293
44627
  }
44294
- const MdiTableMergeCells = { name: "mdi-table-merge-cells", render: render$1 };
44628
+ const MdiTableSplitCell = { name: "mdi-table-split-cell", render: render$1 };
44295
44629
  const _hoisted_1 = {
44296
44630
  viewBox: "0 0 24 24",
44297
44631
  width: "1.2em",
@@ -44299,7 +44633,7 @@ img.ProseMirror-separator {
44299
44633
  };
44300
44634
  const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("path", {
44301
44635
  fill: "currentColor",
44302
- d: "M19 14h2v6H3v-6h2v4h14v-4M3 4v6h2V6h14v4h2V4H3m8 7v2H8v2l-3-3l3-3v2h3m5 0V9l3 3l-3 3v-2h-3v-2h3Z"
44636
+ d: "m4 17l2.75-2.75l-.03-.02c-.58-.59-.58-1.54 0-2.12l4.74-4.74l4.24 4.24l-4.74 4.74c-.57.58-1.5.58-2.09.02l-.63.63H4M15.91 2.91c.59-.58 1.54-.58 2.12 0l2.13 2.12c.58.59.58 1.54 0 2.13l-3.3 3.29l-4.24-4.24l3.29-3.3Z"
44303
44637
  }, null, -1);
44304
44638
  const _hoisted_3 = [
44305
44639
  _hoisted_2
@@ -44307,12 +44641,12 @@ img.ProseMirror-separator {
44307
44641
  function render(_ctx, _cache) {
44308
44642
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1, _hoisted_3);
44309
44643
  }
44310
- const MdiTableSplitCell = { name: "mdi-table-split-cell", render };
44644
+ const MdiFormatColorHighlight = { name: "mdi-format-color-highlight", render };
44311
44645
  function UndoMenuItem(editor) {
44312
44646
  return {
44313
44647
  type: "button",
44314
- icon: MdiUndoVariant,
44315
- title: "Undo",
44648
+ icon: vue.markRaw(MdiUndoVariant),
44649
+ title: "\u64A4\u9500",
44316
44650
  action: () => editor.chain().undo().run(),
44317
44651
  isActive: () => false
44318
44652
  };
@@ -44320,8 +44654,8 @@ img.ProseMirror-separator {
44320
44654
  function RedoMenuItem(editor) {
44321
44655
  return {
44322
44656
  type: "button",
44323
- icon: MdiRedoVariant,
44324
- title: "Redo",
44657
+ icon: vue.markRaw(MdiRedoVariant),
44658
+ title: "\u6062\u590D",
44325
44659
  action: () => editor.chain().redo().run(),
44326
44660
  isActive: () => false
44327
44661
  };
@@ -44329,8 +44663,8 @@ img.ProseMirror-separator {
44329
44663
  function BoldMenuItem(editor) {
44330
44664
  return {
44331
44665
  type: "button",
44332
- icon: MdiFormatBold,
44333
- title: "Bold",
44666
+ icon: vue.markRaw(MdiFormatBold),
44667
+ title: "\u7C97\u4F53",
44334
44668
  action: () => editor.chain().focus().toggleBold().run(),
44335
44669
  isActive: () => editor.isActive("bold")
44336
44670
  };
@@ -44338,8 +44672,8 @@ img.ProseMirror-separator {
44338
44672
  function ItalicMenuItem(editor) {
44339
44673
  return {
44340
44674
  type: "button",
44341
- icon: MdiFormatItalic,
44342
- title: "Italic",
44675
+ icon: vue.markRaw(MdiFormatItalic),
44676
+ title: "\u659C\u4F53",
44343
44677
  action: () => editor.chain().focus().toggleItalic().run(),
44344
44678
  isActive: () => editor.isActive("italic")
44345
44679
  };
@@ -44347,8 +44681,8 @@ img.ProseMirror-separator {
44347
44681
  function UnderlineMenuItem(editor) {
44348
44682
  return {
44349
44683
  type: "button",
44350
- icon: MdiFormatUnderline,
44351
- title: "Underline",
44684
+ icon: vue.markRaw(MdiFormatUnderline),
44685
+ title: "\u4E0B\u5212\u7EBF",
44352
44686
  action: () => editor.chain().focus().toggleUnderline().run(),
44353
44687
  isActive: () => editor.isActive("underline")
44354
44688
  };
@@ -44356,8 +44690,8 @@ img.ProseMirror-separator {
44356
44690
  function StrikeMenuItem(editor) {
44357
44691
  return {
44358
44692
  type: "button",
44359
- icon: MdiFormatStrikethrough,
44360
- title: "Strikethrough",
44693
+ icon: vue.markRaw(MdiFormatStrikethrough),
44694
+ title: "\u5220\u9664\u7EBF",
44361
44695
  action: () => editor.chain().focus().toggleStrike().run(),
44362
44696
  isActive: () => editor.isActive("strike")
44363
44697
  };
@@ -44365,8 +44699,8 @@ img.ProseMirror-separator {
44365
44699
  function QuoteMenuItem(editor) {
44366
44700
  return {
44367
44701
  type: "button",
44368
- icon: MdiFormatQuoteOpen,
44369
- title: "Quote",
44702
+ icon: vue.markRaw(MdiFormatQuoteOpen),
44703
+ title: "\u5F15\u7528",
44370
44704
  action: () => editor.chain().focus().toggleBlockquote().run(),
44371
44705
  isActive: () => editor.isActive("blockquote")
44372
44706
  };
@@ -44374,8 +44708,8 @@ img.ProseMirror-separator {
44374
44708
  function CodeMenuItem(editor) {
44375
44709
  return {
44376
44710
  type: "button",
44377
- icon: MdiCodeTags,
44378
- title: "Code",
44711
+ icon: vue.markRaw(MdiCodeTags),
44712
+ title: "\u884C\u5185\u4EE3\u7801",
44379
44713
  action: () => editor.chain().focus().toggleCode().run(),
44380
44714
  isActive: () => editor.isActive("code")
44381
44715
  };
@@ -44383,8 +44717,8 @@ img.ProseMirror-separator {
44383
44717
  function SuperScriptMenuItem(editor) {
44384
44718
  return {
44385
44719
  type: "button",
44386
- icon: MdiFormatSuperscript,
44387
- title: "Superscript",
44720
+ icon: vue.markRaw(MdiFormatSuperscript),
44721
+ title: "\u4E0A\u89D2\u6807",
44388
44722
  action: () => editor.chain().focus().toggleSuperscript().run(),
44389
44723
  isActive: () => editor.isActive("superscript")
44390
44724
  };
@@ -44392,8 +44726,8 @@ img.ProseMirror-separator {
44392
44726
  function SubScriptMenuItem(editor) {
44393
44727
  return {
44394
44728
  type: "button",
44395
- icon: MdiFormatSubscript,
44396
- title: "Subscript",
44729
+ icon: vue.markRaw(MdiFormatSubscript),
44730
+ title: "\u4E0B\u89D2\u6807",
44397
44731
  action: () => editor.chain().focus().toggleSubscript().run(),
44398
44732
  isActive: () => editor.isActive("subscript")
44399
44733
  };
@@ -44401,8 +44735,8 @@ img.ProseMirror-separator {
44401
44735
  function CodeBlockMenuItem(editor) {
44402
44736
  return {
44403
44737
  type: "button",
44404
- icon: MdiCodeBracesBox,
44405
- title: "Code Block",
44738
+ icon: vue.markRaw(MdiCodeBracesBox),
44739
+ title: "\u4EE3\u7801\u5757",
44406
44740
  action: () => editor.chain().focus().toggleCodeBlock().run(),
44407
44741
  isActive: () => editor.isActive("codeBlock")
44408
44742
  };
@@ -44410,55 +44744,55 @@ img.ProseMirror-separator {
44410
44744
  function HeadingMenuItem(editor) {
44411
44745
  return {
44412
44746
  type: "button",
44413
- icon: MdiFormatHeaderPound,
44414
- title: "\u666E\u901A\u6587\u672C",
44747
+ icon: vue.markRaw(MdiFormatHeaderPound),
44748
+ title: "\u6587\u672C\u7C7B\u578B",
44415
44749
  isActive: () => editor.isActive("heading") || editor.isActive("paragraph"),
44416
44750
  children: [
44417
44751
  {
44418
44752
  type: "button",
44419
- icon: MdiFormatParagraph,
44753
+ icon: vue.markRaw(MdiFormatParagraph),
44420
44754
  title: "\u666E\u901A\u6587\u672C",
44421
44755
  action: () => editor.chain().focus().setParagraph().run(),
44422
44756
  isActive: () => editor.isActive("paragraph")
44423
44757
  },
44424
44758
  {
44425
44759
  type: "button",
44426
- icon: MdiFormatHeader1,
44760
+ icon: vue.markRaw(MdiFormatHeader1),
44427
44761
  title: "\u6807\u9898 1",
44428
44762
  action: () => editor.chain().focus().toggleHeading({ level: 1 }).run(),
44429
44763
  isActive: () => editor.isActive("heading", { level: 1 })
44430
44764
  },
44431
44765
  {
44432
44766
  type: "button",
44433
- icon: MdiFormatHeader2,
44767
+ icon: vue.markRaw(MdiFormatHeader2),
44434
44768
  title: "\u6807\u9898 2",
44435
44769
  action: () => editor.chain().focus().toggleHeading({ level: 2 }).run(),
44436
44770
  isActive: () => editor.isActive("heading", { level: 2 })
44437
44771
  },
44438
44772
  {
44439
44773
  type: "button",
44440
- icon: MdiFormatHeader3,
44774
+ icon: vue.markRaw(MdiFormatHeader3),
44441
44775
  title: "\u6807\u9898 3",
44442
44776
  action: () => editor.chain().focus().toggleHeading({ level: 3 }).run(),
44443
44777
  isActive: () => editor.isActive("heading", { level: 3 })
44444
44778
  },
44445
44779
  {
44446
44780
  type: "button",
44447
- icon: MdiFormatHeader4,
44781
+ icon: vue.markRaw(MdiFormatHeader4),
44448
44782
  title: "\u6807\u9898 4",
44449
44783
  action: () => editor.chain().focus().toggleHeading({ level: 4 }).run(),
44450
44784
  isActive: () => editor.isActive("heading", { level: 4 })
44451
44785
  },
44452
44786
  {
44453
44787
  type: "button",
44454
- icon: MdiFormatHeader5,
44788
+ icon: vue.markRaw(MdiFormatHeader5),
44455
44789
  title: "\u6807\u9898 5",
44456
44790
  action: () => editor.chain().focus().toggleHeading({ level: 5 }).run(),
44457
44791
  isActive: () => editor.isActive("heading", { level: 5 })
44458
44792
  },
44459
44793
  {
44460
44794
  type: "button",
44461
- icon: MdiFormatHeader6,
44795
+ icon: vue.markRaw(MdiFormatHeader6),
44462
44796
  title: "\u6807\u9898 6",
44463
44797
  action: () => editor.chain().focus().toggleHeading({ level: 6 }).run(),
44464
44798
  isActive: () => editor.isActive("heading", { level: 6 })
@@ -44469,8 +44803,8 @@ img.ProseMirror-separator {
44469
44803
  function AlignLeftMenuItem(editor) {
44470
44804
  return {
44471
44805
  type: "button",
44472
- icon: MdiFormatAlignLeft,
44473
- title: "Align Left",
44806
+ icon: vue.markRaw(MdiFormatAlignLeft),
44807
+ title: "\u5DE6\u5BF9\u9F50",
44474
44808
  action: () => editor.chain().focus().setTextAlign("left").run(),
44475
44809
  isActive: () => editor.isActive({ textAlign: "left" })
44476
44810
  };
@@ -44478,8 +44812,8 @@ img.ProseMirror-separator {
44478
44812
  function AlignCenterMenuItem(editor) {
44479
44813
  return {
44480
44814
  type: "button",
44481
- icon: MdiFormatAlignCenter,
44482
- title: "Align Center",
44815
+ icon: vue.markRaw(MdiFormatAlignCenter),
44816
+ title: "\u5C45\u4E2D",
44483
44817
  action: () => editor.chain().focus().setTextAlign("center").run(),
44484
44818
  isActive: () => editor.isActive({ textAlign: "center" })
44485
44819
  };
@@ -44487,8 +44821,8 @@ img.ProseMirror-separator {
44487
44821
  function AlignRightMenuItem(editor) {
44488
44822
  return {
44489
44823
  type: "button",
44490
- icon: MdiFormatAlignRight,
44491
- title: "Align Right",
44824
+ icon: vue.markRaw(MdiFormatAlignRight),
44825
+ title: "\u53F3\u5BF9\u9F50",
44492
44826
  action: () => editor.chain().focus().setTextAlign("right").run(),
44493
44827
  isActive: () => editor.isActive({ textAlign: "right" })
44494
44828
  };
@@ -44496,8 +44830,8 @@ img.ProseMirror-separator {
44496
44830
  function AlignJustifyMenuItem(editor) {
44497
44831
  return {
44498
44832
  type: "button",
44499
- icon: MdiFormatAlignJustify,
44500
- title: "Align Justify",
44833
+ icon: vue.markRaw(MdiFormatAlignJustify),
44834
+ title: "\u4E24\u7AEF\u5BF9\u9F50",
44501
44835
  action: () => editor.chain().focus().setTextAlign("justify").run(),
44502
44836
  isActive: () => editor.isActive({ textAlign: "justify" })
44503
44837
  };
@@ -44505,90 +44839,90 @@ img.ProseMirror-separator {
44505
44839
  function TableMenuItem(editor) {
44506
44840
  return {
44507
44841
  type: "button",
44508
- icon: MdiTable,
44842
+ icon: vue.markRaw(MdiTable),
44509
44843
  title: "\u8868\u683C",
44510
44844
  isActive: () => editor.isActive("heading"),
44511
44845
  children: [
44512
44846
  {
44513
44847
  type: "button",
44514
- icon: MdiTablePlus,
44848
+ icon: vue.markRaw(MdiTablePlus),
44515
44849
  title: "\u63D2\u5165\u8868\u683C",
44516
44850
  action: () => editor.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: true }).run(),
44517
44851
  isActive: () => false
44518
44852
  },
44519
44853
  {
44520
44854
  type: "button",
44521
- icon: MdiTableColumnPlusBefore,
44855
+ icon: vue.markRaw(MdiTableColumnPlusBefore),
44522
44856
  title: "\u5411\u524D\u63D2\u5165\u5217",
44523
44857
  action: () => editor.chain().focus().addColumnBefore().run(),
44524
44858
  isActive: () => false
44525
44859
  },
44526
44860
  {
44527
44861
  type: "button",
44528
- icon: MdiTableColumnPlusAfter,
44862
+ icon: vue.markRaw(MdiTableColumnPlusAfter),
44529
44863
  title: "\u5411\u540E\u63D2\u5165\u5217",
44530
44864
  action: () => editor.chain().focus().addColumnAfter().run(),
44531
44865
  isActive: () => false
44532
44866
  },
44533
44867
  {
44534
44868
  type: "button",
44535
- icon: MdiTableHeadersEye,
44869
+ icon: vue.markRaw(MdiTableHeadersEye),
44536
44870
  title: "\u663E\u793A/\u9690\u85CF\u5217\u8868\u5934",
44537
44871
  action: () => editor.chain().focus().toggleHeaderColumn().run(),
44538
44872
  isActive: () => false
44539
44873
  },
44540
44874
  {
44541
44875
  type: "button",
44542
- icon: MdiTableColumnRemove,
44876
+ icon: vue.markRaw(MdiTableColumnRemove),
44543
44877
  title: "\u5220\u9664\u5F53\u524D\u5217",
44544
44878
  action: () => editor.chain().focus().deleteColumn().run(),
44545
44879
  isActive: () => false
44546
44880
  },
44547
44881
  {
44548
44882
  type: "button",
44549
- icon: MdiTableRowPlusBefore,
44883
+ icon: vue.markRaw(MdiTableRowPlusBefore),
44550
44884
  title: "\u5411\u4E0A\u63D2\u5165\u884C",
44551
44885
  action: () => editor.chain().focus().addRowBefore().run(),
44552
44886
  isActive: () => false
44553
44887
  },
44554
44888
  {
44555
44889
  type: "button",
44556
- icon: MdiTableRowPlusAfter,
44890
+ icon: vue.markRaw(MdiTableRowPlusAfter),
44557
44891
  title: "\u5411\u4E0B\u63D2\u5165\u884C",
44558
44892
  action: () => editor.chain().focus().addRowAfter().run(),
44559
44893
  isActive: () => false
44560
44894
  },
44561
44895
  {
44562
44896
  type: "button",
44563
- icon: MdiTableHeadersEye,
44897
+ icon: vue.markRaw(MdiTableHeadersEye),
44564
44898
  title: "\u663E\u793A/\u9690\u85CF\u884C\u8868\u5934",
44565
44899
  action: () => editor.chain().focus().toggleHeaderRow().run(),
44566
44900
  isActive: () => false
44567
44901
  },
44568
44902
  {
44569
44903
  type: "button",
44570
- icon: MdiTableRowRemove,
44904
+ icon: vue.markRaw(MdiTableRowRemove),
44571
44905
  title: "\u5220\u9664\u5F53\u524D\u884C",
44572
44906
  action: () => editor.chain().focus().deleteRow().run(),
44573
44907
  isActive: () => false
44574
44908
  },
44575
44909
  {
44576
44910
  type: "button",
44577
- icon: MdiTableMergeCells,
44911
+ icon: vue.markRaw(MdiTableMergeCells),
44578
44912
  title: "\u5408\u5E76\u5355\u5143\u683C",
44579
44913
  action: () => editor.chain().focus().mergeCells().run(),
44580
44914
  isActive: () => false
44581
44915
  },
44582
44916
  {
44583
44917
  type: "button",
44584
- icon: MdiTableSplitCell,
44918
+ icon: vue.markRaw(MdiTableSplitCell),
44585
44919
  title: "\u5206\u5272\u5355\u5143\u683C",
44586
44920
  action: () => editor.chain().focus().splitCell().run(),
44587
44921
  isActive: () => false
44588
44922
  },
44589
44923
  {
44590
44924
  type: "button",
44591
- icon: MdiTableRemove,
44925
+ icon: vue.markRaw(MdiTableRemove),
44592
44926
  title: "\u5220\u9664\u8868\u683C",
44593
44927
  action: () => editor.chain().focus().deleteTable().run(),
44594
44928
  isActive: () => false
@@ -44596,6 +44930,47 @@ img.ProseMirror-separator {
44596
44930
  ]
44597
44931
  };
44598
44932
  }
44933
+ function BulletListMenuItem(editor) {
44934
+ return {
44935
+ type: "button",
44936
+ icon: vue.markRaw(MdiFormatListBulleted),
44937
+ title: "\u65E0\u5E8F\u5217\u8868",
44938
+ action: () => editor.chain().focus().toggleBulletList().run(),
44939
+ isActive: () => editor.isActive("bulletList")
44940
+ };
44941
+ }
44942
+ function OrderedListMenuItem(editor) {
44943
+ return {
44944
+ type: "button",
44945
+ icon: vue.markRaw(MdiFormatListNumbered),
44946
+ title: "\u6709\u5E8F\u5217\u8868",
44947
+ action: () => editor.chain().focus().toggleOrderedList().run(),
44948
+ isActive: () => editor.isActive("orderedList")
44949
+ };
44950
+ }
44951
+ function TaskListMenuItem(editor) {
44952
+ return {
44953
+ type: "button",
44954
+ icon: vue.markRaw(MdiFormatListCheckbox),
44955
+ title: "\u4EFB\u52A1\u5217\u8868",
44956
+ action: () => editor.chain().focus().toggleTaskList().run(),
44957
+ isActive: () => editor.isActive("taskList")
44958
+ };
44959
+ }
44960
+ function HighlightMenuItem(editor) {
44961
+ return {
44962
+ type: "button",
44963
+ icon: vue.markRaw(MdiFormatColorHighlight),
44964
+ title: "\u9AD8\u4EAE",
44965
+ action: () => editor.chain().focus().toggleHighlight().run(),
44966
+ isActive: () => editor.isActive("highlight")
44967
+ };
44968
+ }
44969
+ function Separator() {
44970
+ return {
44971
+ type: "separator"
44972
+ };
44973
+ }
44599
44974
  const plugin = {
44600
44975
  install(app) {
44601
44976
  app.component("RichTextEditor", _sfc_main$4);
@@ -44607,8 +44982,10 @@ img.ProseMirror-separator {
44607
44982
  exports.AlignRightMenuItem = AlignRightMenuItem;
44608
44983
  exports.BoldMenuItem = BoldMenuItem;
44609
44984
  exports.BubbleMenu = BubbleMenu;
44985
+ exports.BulletListMenuItem = BulletListMenuItem;
44610
44986
  exports.CodeBlockMenuItem = CodeBlockMenuItem;
44611
44987
  exports.CodeMenuItem = CodeMenuItem;
44988
+ exports.CommandBulletList = CommandBulletList;
44612
44989
  exports.CommandCodeBlock = CommandCodeBlock;
44613
44990
  exports.CommandHeader1 = CommandHeader1;
44614
44991
  exports.CommandHeader2 = CommandHeader2;
@@ -44618,7 +44995,11 @@ img.ProseMirror-separator {
44618
44995
  exports.CommandHeader6 = CommandHeader6;
44619
44996
  exports.CommandIframe = CommandIframe;
44620
44997
  exports.CommandManager = CommandManager;
44998
+ exports.CommandOrderedList = CommandOrderedList;
44999
+ exports.CommandTable = CommandTable;
45000
+ exports.CommandTaskList = CommandTaskList;
44621
45001
  exports.CommandsSuggestion = suggestion;
45002
+ exports.CommentParagraph = CommentParagraph;
44622
45003
  exports.Editor = Editor;
44623
45004
  exports.EditorContent = EditorContent;
44624
45005
  exports.Extension = Extension;
@@ -44633,6 +45014,7 @@ img.ProseMirror-separator {
44633
45014
  exports.ExtensionGapcursor = Gapcursor;
44634
45015
  exports.ExtensionHardBreak = HardBreak;
44635
45016
  exports.ExtensionHeading = Heading;
45017
+ exports.ExtensionHighlight = Highlight;
44636
45018
  exports.ExtensionHistory = History;
44637
45019
  exports.ExtensionHorizontalRule = HorizontalRule;
44638
45020
  exports.ExtensionIframe = Iframe;
@@ -44654,6 +45036,7 @@ img.ProseMirror-separator {
44654
45036
  exports.ExtensionUnderline = Underline;
44655
45037
  exports.FloatingMenu = FloatingMenu;
44656
45038
  exports.HeadingMenuItem = HeadingMenuItem;
45039
+ exports.HighlightMenuItem = HighlightMenuItem;
44657
45040
  exports.InputRule = InputRule;
44658
45041
  exports.ItalicMenuItem = ItalicMenuItem;
44659
45042
  exports.Mark = Mark;
@@ -44661,14 +45044,17 @@ img.ProseMirror-separator {
44661
45044
  exports.NodeView = NodeView;
44662
45045
  exports.NodeViewContent = NodeViewContent;
44663
45046
  exports.NodeViewWrapper = NodeViewWrapper;
45047
+ exports.OrderedListMenuItem = OrderedListMenuItem;
44664
45048
  exports.PasteRule = PasteRule;
44665
45049
  exports.QuoteMenuItem = QuoteMenuItem;
44666
45050
  exports.RedoMenuItem = RedoMenuItem;
44667
45051
  exports.RichTextEditor = _sfc_main$4;
45052
+ exports.Separator = Separator;
44668
45053
  exports.StrikeMenuItem = StrikeMenuItem;
44669
45054
  exports.SubScriptMenuItem = SubScriptMenuItem;
44670
45055
  exports.SuperScriptMenuItem = SuperScriptMenuItem;
44671
45056
  exports.TableMenuItem = TableMenuItem;
45057
+ exports.TaskListMenuItem = TaskListMenuItem;
44672
45058
  exports.Tracker = Tracker;
44673
45059
  exports.UnderlineMenuItem = UnderlineMenuItem;
44674
45060
  exports.UndoMenuItem = UndoMenuItem;