vue-editify 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
package/lib/editify.es.js CHANGED
@@ -20951,7 +20951,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
20951
20951
  ], 14, _hoisted_1$1);
20952
20952
  }
20953
20953
  const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4c7850ff"]]);
20954
- const Editify_vue_vue_type_style_index_0_scoped_ee4c1326_lang = "";
20954
+ const Editify_vue_vue_type_style_index_0_scoped_ca357c78_lang = "";
20955
20955
  const _sfc_main = {
20956
20956
  name: "editify",
20957
20957
  props: { ...editorProps },
@@ -22038,7 +22038,7 @@ const _sfc_main = {
22038
22038
  fn(block);
22039
22039
  }
22040
22040
  } else {
22041
- const result = this.getElementsByRange(true, false);
22041
+ const result = this.editor.getElementsByRange(true, false);
22042
22042
  result.forEach((item) => {
22043
22043
  const block = item.element.getBlock();
22044
22044
  const inblock = item.element.getInblock();
@@ -22453,7 +22453,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22453
22453
  ])) : createCommentVNode("", true)
22454
22454
  ]);
22455
22455
  }
22456
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ee4c1326"]]);
22456
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ca357c78"]]);
22457
22457
  const iconfont = "";
22458
22458
  const en_US = {
22459
22459
  textWrapUp: "Up feed",
@@ -22632,7 +22632,7 @@ const i18n = (locale) => {
22632
22632
  return translations[locale][key];
22633
22633
  };
22634
22634
  };
22635
- const version = "0.0.16";
22635
+ const version = "0.0.17";
22636
22636
  const install = (app, props) => {
22637
22637
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
22638
22638
  app.provide("$editTrans", i18n(locale));