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.
Files changed (2) hide show
  1. package/embed.d.ts +3 -1
  2. 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) => string;
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
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.476.0",
3
+ "version": "1.477.0",
4
4
  "license": "MIT"
5
5
  }