@zeedhi/zd-richtext-vue 1.5.2 → 1.6.0
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 +2 -4
- package/dist/rich-text-vue.umd.js +1 -3
- package/dist/richtext-vue.es.js +68510 -0
- package/dist/types/components/RichText.d.ts +1174 -0
- package/dist/types/components/RichText.vue.d.ts +2 -0
- package/dist/types/extensions/FontFamily/FontFamily.d.ts +295 -0
- package/dist/types/extensions/FontFamily/FontFamily.vue.d.ts +2 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/public.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I18n, VersionService } from '@zeedhi/core';
|
|
2
|
-
import { PropWatch, ZdComponentRender,
|
|
2
|
+
import { PropWatch, ZdComponentRender, FillHeightMixin, Vuetify } from '@zeedhi/vuetify';
|
|
3
3
|
import { locale, createVuetifyProTipTap, VuetifyTiptap } from '@zeedhi/zd-vuetify-pro-tiptap';
|
|
4
4
|
import '@zeedhi/zd-vuetify-pro-tiptap/lib/style.css';
|
|
5
5
|
import Vue, { ref } from 'vue';
|
|
@@ -216,9 +216,6 @@ let ZdRichText = class ZdRichText extends ZdComponentRender {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
this.changeLanguage();
|
|
219
|
-
if (this.instance.fillHeight) {
|
|
220
|
-
setFillHeight(this.$el);
|
|
221
|
-
}
|
|
222
219
|
I18n.registerChangeListener(this.changeLanguage);
|
|
223
220
|
this.setEditorDisabled();
|
|
224
221
|
this.isMounted = true;
|
|
@@ -332,6 +329,7 @@ __decorate([
|
|
|
332
329
|
], ZdRichText.prototype, "input", null);
|
|
333
330
|
ZdRichText = __decorate([
|
|
334
331
|
Component$1({
|
|
332
|
+
mixins: [FillHeightMixin],
|
|
335
333
|
components: { EditorContent },
|
|
336
334
|
})
|
|
337
335
|
], ZdRichText);
|
|
@@ -216,9 +216,6 @@
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
this.changeLanguage();
|
|
219
|
-
if (this.instance.fillHeight) {
|
|
220
|
-
vuetify$1.setFillHeight(this.$el);
|
|
221
|
-
}
|
|
222
219
|
core.I18n.registerChangeListener(this.changeLanguage);
|
|
223
220
|
this.setEditorDisabled();
|
|
224
221
|
this.isMounted = true;
|
|
@@ -332,6 +329,7 @@
|
|
|
332
329
|
], ZdRichText.prototype, "input", null);
|
|
333
330
|
ZdRichText = __decorate([
|
|
334
331
|
vuePropertyDecorator.Component({
|
|
332
|
+
mixins: [vuetify$1.FillHeightMixin],
|
|
335
333
|
components: { EditorContent: vue2.EditorContent },
|
|
336
334
|
})
|
|
337
335
|
], ZdRichText);
|