@zeedhi/zd-richtext-vue 1.5.2 → 3.0.1

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.
@@ -1,39 +0,0 @@
1
- import { ZdComponentRender } from '@zeedhi/vuetify';
2
- import { IFonts, RichText } from '@zeedhi/zd-richtext-common';
3
- export default class ZdRichText extends ZdComponentRender {
4
- outputFormat: string;
5
- placeholder: string;
6
- disabled: boolean | string;
7
- readonly: boolean;
8
- toolbarColor: string;
9
- content: string;
10
- cardColor: string;
11
- fonts: IFonts[];
12
- enableFullscreen: boolean;
13
- outlined: boolean | string;
14
- width: number | string;
15
- height: number | string;
16
- formatGetter: Object | string;
17
- value: string;
18
- fillHeight: boolean;
19
- label: string;
20
- instance: RichText;
21
- instanceType: typeof RichText;
22
- onKeyDown(event: KeyboardEvent): void;
23
- changeLanguage(): void;
24
- isMounted: boolean;
25
- hasClass(): boolean;
26
- isFocused: boolean;
27
- extensions: import("@tiptap/vue-2").Extension<import("@tiptap/extension-font-family").FontFamilyOptions, any>[];
28
- input(instanceInput: String): void;
29
- private initialFocusValue?;
30
- onFocus(event: Event): void;
31
- onBlur(event: Event): void;
32
- toolbar: import("vue").Ref<any[]>;
33
- toolbarReadonly: import("vue").Ref<any[]>;
34
- toolbarFullscreen: import("vue").Ref<any[]>;
35
- created(): void;
36
- mounted(): void;
37
- setEditorDisabled(): void;
38
- beforeDestroy(): void;
39
- }
@@ -1,9 +0,0 @@
1
- import { ZdComponentRender } from '@zeedhi/vuetify';
2
- import { IFonts } from '@zeedhi/zd-richtext-common';
3
- export declare const fonts: IFonts[];
4
- export default class FontFamily extends ZdComponentRender {
5
- editor: any;
6
- attrs: any;
7
- fonts: IFonts[];
8
- setFontStyle(editor: any, font: string): void;
9
- }
package/types/index.d.ts DELETED
@@ -1,11 +0,0 @@
1
- import { Vuetify } from '@zeedhi/vuetify';
2
- import '@zeedhi/zd-vuetify-pro-tiptap/lib/style.css';
3
- import type { VueConstructor } from 'vue';
4
- import ZdRichText from './RichText.vue';
5
- declare const vuetify: any;
6
- declare const RichTextPlugin: {
7
- install(AppVue: VueConstructor, options: {
8
- vuetify: Vuetify;
9
- }): void;
10
- };
11
- export { ZdRichText, RichTextPlugin };
package/types/public.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import ZdRichText from './RichText';
2
- export { ZdRichText };
@@ -1,3 +0,0 @@
1
- declare const setInstalled: () => void;
2
- declare const getInstalled: () => boolean;
3
- export { setInstalled, getInstalled };
@@ -1,5 +0,0 @@
1
- /**
2
- * Function called when uploading an image to the editor
3
- * it will read the file and return a base64 string
4
- */
5
- export default function upload(file: File): Promise<string>;