vue-editify 0.1.2 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
package/lib/editify.es.js CHANGED
@@ -14445,6 +14445,11 @@ const editorProps = {
14445
14445
  default: function() {
14446
14446
  return [];
14447
14447
  }
14448
+ },
14449
+ //自适应高度
14450
+ autoheight: {
14451
+ type: Boolean,
14452
+ default: false
14448
14453
  }
14449
14454
  };
14450
14455
  const mergeObject = function(o1, o2) {
@@ -21331,7 +21336,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
21331
21336
  ], 14, _hoisted_1$1);
21332
21337
  }
21333
21338
  const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-25262a69"]]);
21334
- const Editify_vue_vue_type_style_index_0_scoped_8d0f0eb2_lang = "";
21339
+ const Editify_vue_vue_type_style_index_0_scoped_eb50ca8a_lang = "";
21335
21340
  const _sfc_main = {
21336
21341
  name: "editify",
21337
21342
  props: { ...editorProps },
@@ -22023,7 +22028,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22023
22028
  const _component_Menu = resolveComponent("Menu");
22024
22029
  const _component_Toolbar = resolveComponent("Toolbar");
22025
22030
  return openBlock(), createElementBlock("div", {
22026
- class: normalizeClass(["editify", { fullscreen: $data.isFullScreen }])
22031
+ class: normalizeClass(["editify", { fullscreen: $data.isFullScreen, autoheight: _ctx.autoheight }])
22027
22032
  }, [
22028
22033
  $options.menuConfig.use ? (openBlock(), createBlock(_component_Menu, {
22029
22034
  key: 0,
@@ -22069,7 +22074,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22069
22074
  ], 2)) : createCommentVNode("", true)
22070
22075
  ], 2);
22071
22076
  }
22072
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8d0f0eb2"]]);
22077
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-eb50ca8a"]]);
22073
22078
  const iconfont = "";
22074
22079
  const en_US = {
22075
22080
  textWrapUp: "Up feed",
@@ -22252,7 +22257,7 @@ const i18n = (locale) => {
22252
22257
  return translations[locale][key];
22253
22258
  };
22254
22259
  };
22255
- const version = "0.1.2";
22260
+ const version = "0.1.4";
22256
22261
  const install = (app, props) => {
22257
22262
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
22258
22263
  app.provide("$editTrans", i18n(locale));
@@ -22265,6 +22270,7 @@ const stdin_default = {
22265
22270
  };
22266
22271
  export {
22267
22272
  AlexElement,
22273
+ Editify,
22268
22274
  stdin_default as default,
22269
22275
  install,
22270
22276
  version