unlayer-types 1.476.0 → 1.477.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 +3 -1
- package/package.json +1 -1
package/embed.d.ts
CHANGED
|
@@ -1440,7 +1440,9 @@ declare module "packages/editor/src/state/types/types" {
|
|
|
1440
1440
|
export interface ExporterConfig {
|
|
1441
1441
|
toSafeHtml?: (text: string | undefined, options?: any) => string;
|
|
1442
1442
|
textDirection?: string | undefined;
|
|
1443
|
-
generateHtmlFromTextJson?: (textJson: any
|
|
1443
|
+
generateHtmlFromTextJson?: (textJson: any, options?: {
|
|
1444
|
+
inlineScriptLineHeight?: boolean;
|
|
1445
|
+
}) => string;
|
|
1444
1446
|
cdnBaseUrl?: string;
|
|
1445
1447
|
}
|
|
1446
1448
|
export type DesignMode = 'live' | 'edit';
|
package/package.json
CHANGED