@zeedhi/zd-richtext-vue 1.1.2 → 1.1.3
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/dist/rich-text-vue.esm.js +12 -11
- package/dist/rich-text-vue.umd.js +10 -9
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
|
-
import { ZdComponentRender, Vuetify } from '@zeedhi/vuetify';
|
|
3
|
-
import {
|
|
2
|
+
import { PropWatch, ZdComponentRender, Vuetify } from '@zeedhi/vuetify';
|
|
3
|
+
import { Component } from 'vue-property-decorator';
|
|
4
4
|
import { RichText } from '@zeedhi/zd-richtext-common';
|
|
5
5
|
import 'tiptap-vuetify/dist/main.css';
|
|
6
6
|
|
|
@@ -59,35 +59,35 @@ let ZdRichText = class ZdRichText extends ZdComponentRender {
|
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
__decorate([
|
|
62
|
-
|
|
62
|
+
PropWatch({ type: String, default: 'json' }),
|
|
63
63
|
__metadata("design:type", String)
|
|
64
64
|
], ZdRichText.prototype, "outputFormat", void 0);
|
|
65
65
|
__decorate([
|
|
66
|
-
|
|
66
|
+
PropWatch({ type: String, default: '' }),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
68
|
], ZdRichText.prototype, "placeholder", void 0);
|
|
69
69
|
__decorate([
|
|
70
|
-
|
|
70
|
+
PropWatch({ type: [Boolean, String], default: false }),
|
|
71
71
|
__metadata("design:type", Object)
|
|
72
72
|
], ZdRichText.prototype, "disabled", void 0);
|
|
73
73
|
__decorate([
|
|
74
|
-
|
|
74
|
+
PropWatch({ type: String, default: 'var(--v-primary-base)' }),
|
|
75
75
|
__metadata("design:type", String)
|
|
76
76
|
], ZdRichText.prototype, "toolbarColor", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
|
|
78
|
+
PropWatch({ type: String, default: '' }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], ZdRichText.prototype, "cardColor", void 0);
|
|
81
81
|
__decorate([
|
|
82
|
-
|
|
82
|
+
PropWatch({ type: [Boolean, String], default: false }),
|
|
83
83
|
__metadata("design:type", Object)
|
|
84
84
|
], ZdRichText.prototype, "outlined", void 0);
|
|
85
85
|
__decorate([
|
|
86
|
-
|
|
86
|
+
PropWatch({ type: [Number, String], default: '' }),
|
|
87
87
|
__metadata("design:type", Object)
|
|
88
88
|
], ZdRichText.prototype, "width", void 0);
|
|
89
89
|
__decorate([
|
|
90
|
-
|
|
90
|
+
PropWatch({ type: [Number, String], default: '' }),
|
|
91
91
|
__metadata("design:type", Object)
|
|
92
92
|
], ZdRichText.prototype, "height", void 0);
|
|
93
93
|
ZdRichText = __decorate([
|
|
@@ -234,6 +234,7 @@ var __vue_render__ = function () {
|
|
|
234
234
|
return _c("tiptap-vuetify", {
|
|
235
235
|
staticClass: "zd-rich-text",
|
|
236
236
|
attrs: {
|
|
237
|
+
id: _vm.instance.name,
|
|
237
238
|
"output-format": _vm.instance.outputFormat,
|
|
238
239
|
extensions: _vm.extensions,
|
|
239
240
|
"toolbar-attributes": {
|
|
@@ -267,7 +268,7 @@ __vue_render__._withStripped = true;
|
|
|
267
268
|
/* style */
|
|
268
269
|
const __vue_inject_styles__ = function (inject) {
|
|
269
270
|
if (!inject) return
|
|
270
|
-
inject("data-v-
|
|
271
|
+
inject("data-v-42bd6876_0", { source: ".zd-rich-text button.v-btn.v-btn--icon.v-btn--round.theme--light.v-size--small.tiptap-vuetify-editor__action-render-btn {\n color: #ffffff;\n}\n.zd-rich-text div.v-card {\n display: flex;\n flex-direction: column;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__toolbar {\n display: flex;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content {\n flex-grow: 1;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content .ProseMirror {\n margin: var(--spacing-2) !important;\n height: 100%;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content .ProseMirror p {\n margin-top: var(--spacing-2) !important;\n margin-bottom: var(--spacing-2) !important;\n}", map: undefined, media: undefined });
|
|
271
272
|
|
|
272
273
|
};
|
|
273
274
|
/* scoped */
|
|
@@ -63,35 +63,35 @@
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
__decorate([
|
|
66
|
-
|
|
66
|
+
vuetify.PropWatch({ type: String, default: 'json' }),
|
|
67
67
|
__metadata("design:type", String)
|
|
68
68
|
], ZdRichText.prototype, "outputFormat", void 0);
|
|
69
69
|
__decorate([
|
|
70
|
-
|
|
70
|
+
vuetify.PropWatch({ type: String, default: '' }),
|
|
71
71
|
__metadata("design:type", String)
|
|
72
72
|
], ZdRichText.prototype, "placeholder", void 0);
|
|
73
73
|
__decorate([
|
|
74
|
-
|
|
74
|
+
vuetify.PropWatch({ type: [Boolean, String], default: false }),
|
|
75
75
|
__metadata("design:type", Object)
|
|
76
76
|
], ZdRichText.prototype, "disabled", void 0);
|
|
77
77
|
__decorate([
|
|
78
|
-
|
|
78
|
+
vuetify.PropWatch({ type: String, default: 'var(--v-primary-base)' }),
|
|
79
79
|
__metadata("design:type", String)
|
|
80
80
|
], ZdRichText.prototype, "toolbarColor", void 0);
|
|
81
81
|
__decorate([
|
|
82
|
-
|
|
82
|
+
vuetify.PropWatch({ type: String, default: '' }),
|
|
83
83
|
__metadata("design:type", String)
|
|
84
84
|
], ZdRichText.prototype, "cardColor", void 0);
|
|
85
85
|
__decorate([
|
|
86
|
-
|
|
86
|
+
vuetify.PropWatch({ type: [Boolean, String], default: false }),
|
|
87
87
|
__metadata("design:type", Object)
|
|
88
88
|
], ZdRichText.prototype, "outlined", void 0);
|
|
89
89
|
__decorate([
|
|
90
|
-
|
|
90
|
+
vuetify.PropWatch({ type: [Number, String], default: '' }),
|
|
91
91
|
__metadata("design:type", Object)
|
|
92
92
|
], ZdRichText.prototype, "width", void 0);
|
|
93
93
|
__decorate([
|
|
94
|
-
|
|
94
|
+
vuetify.PropWatch({ type: [Number, String], default: '' }),
|
|
95
95
|
__metadata("design:type", Object)
|
|
96
96
|
], ZdRichText.prototype, "height", void 0);
|
|
97
97
|
ZdRichText = __decorate([
|
|
@@ -238,6 +238,7 @@
|
|
|
238
238
|
return _c("tiptap-vuetify", {
|
|
239
239
|
staticClass: "zd-rich-text",
|
|
240
240
|
attrs: {
|
|
241
|
+
id: _vm.instance.name,
|
|
241
242
|
"output-format": _vm.instance.outputFormat,
|
|
242
243
|
extensions: _vm.extensions,
|
|
243
244
|
"toolbar-attributes": {
|
|
@@ -271,7 +272,7 @@
|
|
|
271
272
|
/* style */
|
|
272
273
|
const __vue_inject_styles__ = function (inject) {
|
|
273
274
|
if (!inject) return
|
|
274
|
-
inject("data-v-
|
|
275
|
+
inject("data-v-42bd6876_0", { source: ".zd-rich-text button.v-btn.v-btn--icon.v-btn--round.theme--light.v-size--small.tiptap-vuetify-editor__action-render-btn {\n color: #ffffff;\n}\n.zd-rich-text div.v-card {\n display: flex;\n flex-direction: column;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__toolbar {\n display: flex;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content {\n flex-grow: 1;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content .ProseMirror {\n margin: var(--spacing-2) !important;\n height: 100%;\n}\n.zd-rich-text div.v-card div.tiptap-vuetify-editor__content .ProseMirror p {\n margin-top: var(--spacing-2) !important;\n margin-bottom: var(--spacing-2) !important;\n}", map: undefined, media: undefined });
|
|
275
276
|
|
|
276
277
|
};
|
|
277
278
|
/* scoped */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeedhi/zd-richtext-vue",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "RichTextVue by BVR",
|
|
5
5
|
"main": "dist/rich-text-vue.umd.js",
|
|
6
6
|
"module": "dist/rich-text-vue.esm.js",
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"vue-class-component": "^7.2.6",
|
|
24
24
|
"vue-property-decorator": "^9.1.2"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "c98c8914c914ea773b0881c890ae0601361fabcf"
|
|
27
27
|
}
|