vuewrite 0.0.23-b → 0.0.24

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.
@@ -132,6 +132,7 @@ onKeydown?: ((...args: any[]) => any) | undefined;
132
132
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
133
  "onUpdate:styles"?: ((...args: any[]) => any) | undefined;
134
134
  }, {}, {}>, {
135
+ _before?(_: {}): any;
135
136
  placeholder?(_: {}): any;
136
137
  }>;
137
138
 
package/dist/vuewrite.js CHANGED
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- import { getCurrentScope, onScopeDispose, unref, watch, reactive, computed, ref, defineComponent, getCurrentInstance, h, nextTick, useSlots, isProxy, toRaw, onMounted, openBlock, createElementBlock, Fragment, renderList, createBlock, renderSlot, createCommentVNode } from "vue";
7
+ import { getCurrentScope, onScopeDispose, unref, watch, reactive, computed, ref, defineComponent, getCurrentInstance, h, nextTick, useSlots, isProxy, toRaw, onMounted, openBlock, createElementBlock, renderSlot, Fragment, renderList, createBlock, createCommentVNode } from "vue";
8
8
  function tryOnScopeDispose(fn) {
9
9
  if (getCurrentScope()) {
10
10
  onScopeDispose(fn);
@@ -1089,6 +1089,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1089
1089
  onCut: _cache[3] || (_cache[3] = //@ts-ignore
1090
1090
  (...args) => unref(onCut) && unref(onCut)(...args))
1091
1091
  }, [
1092
+ renderSlot(_ctx.$slots, "_before"),
1092
1093
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(store).blocks, (block) => {
1093
1094
  return openBlock(), createBlock(_sfc_main$2, {
1094
1095
  key: block.id,
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "vuewrite",
3
3
  "description": "Rich Text Editor based on Vue3 reactivity",
4
4
  "private": false,
5
- "version": "0.0.23-b",
5
+ "version": "0.0.24",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "author": "den59k",