unlayer-types 1.410.0 → 1.412.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/embed.d.ts +2 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
|
@@ -1538,7 +1538,7 @@ declare module "packages/editor/src/state/types/types" {
|
|
|
1538
1538
|
export interface CustomFont {
|
|
1539
1539
|
label: string;
|
|
1540
1540
|
value: string;
|
|
1541
|
-
url
|
|
1541
|
+
url?: string;
|
|
1542
1542
|
weights?: number[] | Array<{
|
|
1543
1543
|
label: string;
|
|
1544
1544
|
value: number;
|
|
@@ -1956,6 +1956,7 @@ declare module "packages/editor/src/engine/config/features" {
|
|
|
1956
1956
|
inlineColorGroups?: string[];
|
|
1957
1957
|
inlineFontControls?: boolean;
|
|
1958
1958
|
defaultFontSize?: string;
|
|
1959
|
+
fontSizes?: string[];
|
|
1959
1960
|
customButtons?: TextEditorCustomButton[];
|
|
1960
1961
|
};
|
|
1961
1962
|
colorPicker?: ColorPicker;
|
package/package.json
CHANGED