vue-editify 0.1.1 → 0.1.2
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.
- package/lib/editify.es.js +6 -6
- package/lib/editify.umd.js +1 -1
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/Editify.vue +2 -2
- package/src/core/tool.js +1 -1
- package/src/index.js +1 -1
package/lib/editify.es.js
CHANGED
@@ -14435,7 +14435,7 @@ const editorProps = {
|
|
14435
14435
|
default: null
|
14436
14436
|
},
|
14437
14437
|
//自定义node转元素时的处理
|
14438
|
-
|
14438
|
+
customParseNode: {
|
14439
14439
|
type: Function,
|
14440
14440
|
default: null
|
14441
14441
|
},
|
@@ -21331,7 +21331,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21331
21331
|
], 14, _hoisted_1$1);
|
21332
21332
|
}
|
21333
21333
|
const Menu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-25262a69"]]);
|
21334
|
-
const
|
21334
|
+
const Editify_vue_vue_type_style_index_0_scoped_8d0f0eb2_lang = "";
|
21335
21335
|
const _sfc_main = {
|
21336
21336
|
name: "editify",
|
21337
21337
|
props: { ...editorProps },
|
@@ -21780,8 +21780,8 @@ const _sfc_main = {
|
|
21780
21780
|
ele.marks = marks;
|
21781
21781
|
}
|
21782
21782
|
}
|
21783
|
-
if (typeof this.
|
21784
|
-
ele = this.
|
21783
|
+
if (typeof this.customParseNode == "function") {
|
21784
|
+
ele = this.customParseNode.apply(this, [ele]);
|
21785
21785
|
}
|
21786
21786
|
return ele;
|
21787
21787
|
},
|
@@ -22069,7 +22069,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22069
22069
|
], 2)) : createCommentVNode("", true)
|
22070
22070
|
], 2);
|
22071
22071
|
}
|
22072
|
-
const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
22072
|
+
const Editify = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-8d0f0eb2"]]);
|
22073
22073
|
const iconfont = "";
|
22074
22074
|
const en_US = {
|
22075
22075
|
textWrapUp: "Up feed",
|
@@ -22252,7 +22252,7 @@ const i18n = (locale) => {
|
|
22252
22252
|
return translations[locale][key];
|
22253
22253
|
};
|
22254
22254
|
};
|
22255
|
-
const version = "0.1.
|
22255
|
+
const version = "0.1.2";
|
22256
22256
|
const install = (app, props) => {
|
22257
22257
|
const locale = (props ? props.locale : "zh_CN") || "zh_CN";
|
22258
22258
|
app.provide("$editTrans", i18n(locale));
|