vue-editify 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
package/lib/editify.es.js CHANGED
@@ -20967,7 +20967,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
20967
20967
  ], 14, _hoisted_1$1);
20968
20968
  }
20969
20969
  const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-4c7850ff"]]);
20970
- const Editify_vue_vue_type_style_index_0_scoped_82396597_lang = "";
20970
+ const Editify_vue_vue_type_style_index_0_scoped_ee4c1326_lang = "";
20971
20971
  const _sfc_main = {
20972
20972
  name: "editify",
20973
20973
  props: { ...editorProps },
@@ -22400,7 +22400,7 @@ const _sfc_main = {
22400
22400
  }
22401
22401
  const elements = this.editor.parseHtml(html);
22402
22402
  for (let i = 0; i < elements.length; i++) {
22403
- this.editor.insertElement(elements[i]);
22403
+ this.editor.insertElement(elements[i], false);
22404
22404
  }
22405
22405
  this.editor.formatElementStack();
22406
22406
  this.editor.domRender();
@@ -22469,7 +22469,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22469
22469
  ])) : createCommentVNode("", true)
22470
22470
  ]);
22471
22471
  }
22472
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-82396597"]]);
22472
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ee4c1326"]]);
22473
22473
  const iconfont = "";
22474
22474
  const en_US = {
22475
22475
  textWrapUp: "Up feed",
@@ -22648,7 +22648,7 @@ const i18n = (locale) => {
22648
22648
  return translations[locale][key];
22649
22649
  };
22650
22650
  };
22651
- const version = "0.0.14";
22651
+ const version = "0.0.15";
22652
22652
  const install = (app, props) => {
22653
22653
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
22654
22654
  app.provide("$editTrans", i18n(locale));