vdc-editor 0.1.268 → 0.1.270
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/{BulkSpellChecker-D-q5T2QG.mjs → BulkSpellChecker-Bibou0Sw.mjs} +2 -2
- package/lib/{BulkSpellChecker-D-q5T2QG.mjs.map → BulkSpellChecker-Bibou0Sw.mjs.map} +1 -1
- package/lib/{index-CMiPd0wD.mjs → index-B1vuU6rP.mjs} +8142 -8126
- package/lib/{index-CMiPd0wD.mjs.map → index-B1vuU6rP.mjs.map} +1 -1
- package/lib/src/extensions/FontFamily/FontFamily.d.ts +5 -5
- package/lib/src/type.d.ts +10 -0
- package/lib/vdc-editor.mjs +1 -1
- package/lib/vdc-editor.umd.js +77 -77
- package/lib/vdc-editor.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { GeneralOptions } from '../../type';
|
|
1
|
+
import { FontFamilyItem, GeneralOptions } from '../../type';
|
|
2
2
|
import { FontFamilyOptions as TiptapFontFamilyOptions } from '@tiptap/extension-font-family';
|
|
3
3
|
|
|
4
4
|
export interface FontFamilyOptions extends TiptapFontFamilyOptions, GeneralOptions<FontFamilyOptions> {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Ensure these fonts are loaded/supported globally by your application CSS.
|
|
7
|
+
*/
|
|
8
|
+
fontFamilyList: FontFamilyItem[];
|
|
9
9
|
}
|
|
10
10
|
declare module '@tiptap/core' {
|
|
11
11
|
interface Commands<ReturnType> {
|
package/lib/src/type.d.ts
CHANGED
|
@@ -257,6 +257,16 @@ export interface MinChar {
|
|
|
257
257
|
superPreview?: number;
|
|
258
258
|
content?: number;
|
|
259
259
|
}
|
|
260
|
+
/**
|
|
261
|
+
* label: display name
|
|
262
|
+
* value: font family value
|
|
263
|
+
* enabled: show/hide this font family
|
|
264
|
+
*/
|
|
265
|
+
export interface FontFamilyItem {
|
|
266
|
+
label: string;
|
|
267
|
+
value: string;
|
|
268
|
+
enabled?: boolean;
|
|
269
|
+
}
|
|
260
270
|
export type EditorEvents = CoreEditorEvents;
|
|
261
271
|
export interface EditorProps {
|
|
262
272
|
/**
|
package/lib/vdc-editor.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-
|
|
1
|
+
import { A as i, r as t, q as o, s as r, E as d, p, t as u, p as E, B as l, v as n, F as S, y as m, u as w, w as x, z as f, x as g } from "./index-B1vuU6rP.mjs";
|
|
2
2
|
import "@vueuse/core";
|
|
3
3
|
export {
|
|
4
4
|
i as ArticleCompareEditor,
|