unlayer-types 1.475.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 -2
  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';
@@ -3186,7 +3188,6 @@ declare module "packages/editor/src/engine/config/tools" {
3186
3188
  export function getInitialValuesFromOptionGroup(optionGroup: {
3187
3189
  options?: OptionConfigMap;
3188
3190
  } | undefined): Record<string, unknown>;
3189
- export function loadTools(newTools: ToolConfigMap): void;
3190
3191
  export function overrideTools(newOverrideTools: Record<string, ToolOverride>): void;
3191
3192
  export function getOverrideToolById(id: string): {
3192
3193
  id?: string;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "unlayer-types",
3
- "version": "1.475.0",
3
+ "version": "1.477.0",
4
4
  "license": "MIT"
5
5
  }