@jvs-milkdown/crepe 1.2.38 → 1.2.39

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/lib/esm/index.js CHANGED
@@ -5,7 +5,7 @@ import { languages } from '@codemirror/language-data';
5
5
  import { oneDark } from '@codemirror/theme-one-dark';
6
6
  import { createSlice } from '@jvs-milkdown/kit/ctx';
7
7
  import { $ctx, $nodeSchema, $view, $remark, $markAttr, $markSchema, $command, $prose, $useKeymap, getMarkdown, $inputRule } from '@jvs-milkdown/kit/utils';
8
- import { defineComponent, shallowRef, ref, computed, h, createApp, watchEffect, watch, onUnmounted, Fragment as Fragment$1, reactive, onMounted, onBeforeUnmount, nextTick } from 'vue';
8
+ import { defineComponent, shallowRef, ref, computed, h, createApp, watchEffect, watch, onUnmounted, Fragment, reactive, onMounted, onBeforeUnmount, nextTick } from 'vue';
9
9
  import { Icon } from '@jvs-milkdown/kit/component';
10
10
  import { blockConfig, block, BlockProvider } from '@jvs-milkdown/kit/plugin/block';
11
11
  import { commandsCtx, editorViewCtx, schemaCtx, editorCtx, EditorStatus, rootCtx, parserCtx, editorViewOptionsCtx, Editor, defaultValueCtx } from '@jvs-milkdown/kit/core';
@@ -3898,7 +3898,7 @@ function getBlockKey(node) {
3898
3898
  }
3899
3899
  }
3900
3900
 
3901
- keepAlive(h, Fragment$1);
3901
+ keepAlive(h, Fragment);
3902
3902
  const BlockHandle = defineComponent({
3903
3903
  props: {
3904
3904
  onAdd: {
@@ -3946,7 +3946,7 @@ const BlockHandle = defineComponent({
3946
3946
  const addButton = ref();
3947
3947
  const menuButton = ref();
3948
3948
  return () => {
3949
- return /* @__PURE__ */ h(Fragment$1, null, /* @__PURE__ */ h(
3949
+ return /* @__PURE__ */ h(Fragment, null, /* @__PURE__ */ h(
3950
3950
  "div",
3951
3951
  {
3952
3952
  ref: addButton,
@@ -5509,7 +5509,7 @@ const activeIconMap = {
5509
5509
  [dividerIcon]: dividerIconActive
5510
5510
  // [highLineCodeIcon]: highLineCodeIconActive,
5511
5511
  };
5512
- keepAlive(h, Fragment$1);
5512
+ keepAlive(h, Fragment);
5513
5513
  const formatPainterStates = /* @__PURE__ */ new WeakMap();
5514
5514
  const formatPainterHandlers = /* @__PURE__ */ new WeakMap();
5515
5515
  const formatPainterIgnoreNext = /* @__PURE__ */ new WeakMap();
@@ -6862,7 +6862,7 @@ const Toolbar = defineComponent({
6862
6862
  if (groupIndex < nonHeadingGroups.length - 1 && group.items.length > 0) {
6863
6863
  sectionIdx++;
6864
6864
  }
6865
- return /* @__PURE__ */ h(Fragment$1, { key: group.key }, items, groupIndex < nonHeadingGroups.length - 1 && group.items.length > 0 ? /* @__PURE__ */ h(
6865
+ return /* @__PURE__ */ h(Fragment, { key: group.key }, items, groupIndex < nonHeadingGroups.length - 1 && group.items.length > 0 ? /* @__PURE__ */ h(
6866
6866
  "div",
6867
6867
  {
6868
6868
  class: "divider",
@@ -7067,7 +7067,7 @@ const Toolbar = defineComponent({
7067
7067
  () => setIndent(-1),
7068
7068
  currentAlignIndent.value.indent <= 0
7069
7069
  ),
7070
- canMerge.value || canSplit.value ? /* @__PURE__ */ h(Fragment$1, null, /* @__PURE__ */ h(
7070
+ canMerge.value || canSplit.value ? /* @__PURE__ */ h(Fragment, null, /* @__PURE__ */ h(
7071
7071
  "div",
7072
7072
  {
7073
7073
  style: {
@@ -8608,7 +8608,7 @@ const FixedToolbarComponent = defineComponent({
8608
8608
  canRedo: { type: Object, required: true }
8609
8609
  },
8610
8610
  setup(props) {
8611
- keepAlive(h);
8611
+ keepAlive(h, Fragment);
8612
8612
  const showShortcuts = ref(false);
8613
8613
  onMounted(() => {
8614
8614
  const handleShowShortcuts = () => {