vue-editify 0.0.32 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
package/examples/App.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div style="padding: 100px 50px 50px 50px">
3
- <editify v-model="value" placeholder="请输入正文内容..." allow-paste-html border @change="change" :menu="menuConfig" ref="editify"></editify>
3
+ <editify v-model="value" placeholder="请输入正文内容..." allow-paste-html border @change="change" :menu="menuConfig" ref="editify" height="400px"></editify>
4
4
  </div>
5
5
  </template>
6
6
  <script>
@@ -11,7 +11,7 @@ export default {
11
11
  return {
12
12
  value: '<p><span>这是一个基于 </span><span data-editify-code="true">Vue3 + alex-editor</span><span> 构建的一套</span><span style="font-weight: bold;">精美UI样式</span><span>的</span><span style="font-weight: bold;">开箱即用</span><span>的</span><span style="color: #ec1a0a;">富文本编辑器</span></p>',
13
13
  menuConfig: {
14
- // mode:'inner',
14
+ //mode: 'inner',
15
15
  sequence: {
16
16
  alert: 100
17
17
  },
package/lib/editify.es.js CHANGED
@@ -21186,7 +21186,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
21186
21186
  ], 14, _hoisted_1$1);
21187
21187
  }
21188
21188
  const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-42f60b43"]]);
21189
- const Editify_vue_vue_type_style_index_0_scoped_0e657ae6_lang = "";
21189
+ const Editify_vue_vue_type_style_index_0_scoped_237c369a_lang = "";
21190
21190
  const _sfc_main = {
21191
21191
  name: "editify",
21192
21192
  props: { ...editorProps },
@@ -22750,7 +22750,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22750
22750
  }, null, 8, ["config", "disabled", "color"])) : createCommentVNode("", true),
22751
22751
  createElementVNode("div", {
22752
22752
  ref: "body",
22753
- class: normalizeClass(["editify-body", { border: _ctx.border, menu_inner: $options.menuConfig.use && $options.menuConfig.mode == "inner", source: $data.isSourceView }]),
22753
+ class: normalizeClass(["editify-body", { border: _ctx.border, menu_inner: $options.menuConfig.use && $options.menuConfig.mode == "inner" }]),
22754
22754
  "data-editify-uid": $setup.uid
22755
22755
  }, [
22756
22756
  createElementVNode("div", {
@@ -22783,7 +22783,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22783
22783
  ])) : createCommentVNode("", true)
22784
22784
  ]);
22785
22785
  }
22786
- const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-0e657ae6"]]);
22786
+ const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-237c369a"]]);
22787
22787
  const iconfont = "";
22788
22788
  const en_US = {
22789
22789
  textWrapUp: "Up feed",
@@ -22962,7 +22962,7 @@ const i18n = (locale) => {
22962
22962
  return translations[locale][key];
22963
22963
  };
22964
22964
  };
22965
- const version = "0.0.32";
22965
+ const version = "0.0.34";
22966
22966
  const install = (app, props) => {
22967
22967
  const locale = (props ? props.locale : "zh_CN") || "zh_CN";
22968
22968
  app.provide("$editTrans", i18n(locale));
@@ -22974,7 +22974,7 @@ const stdin_default = {
22974
22974
  version
22975
22975
  };
22976
22976
  export {
22977
- AlexEditor as AlexElement,
22977
+ AlexElement,
22978
22978
  stdin_default as default,
22979
22979
  install,
22980
22980
  version