From ee68a2152155939d0aa19ec47edda6c6c465ee80 Mon Sep 17 00:00:00 2001 From: Thiago de Barros Laceda Date: Mon, 14 Aug 2017 11:19:10 -0700 Subject: [PATCH] [TinyMCE] Add the ability to pass strings to width, height, min_height and min_width Settings attributes (#18937) So we can use percentages when specifying those properties as well Signed-off-by: Thiago Lacerda --- types/tinymce/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/types/tinymce/index.d.ts b/types/tinymce/index.d.ts index 897199a214..79d8cacecf 100644 --- a/types/tinymce/index.d.ts +++ b/types/tinymce/index.d.ts @@ -87,7 +87,7 @@ export interface Settings { fixed_toolbar_container?: string; - height?: number; + height?: number | string; inline?: boolean; @@ -103,9 +103,9 @@ export interface Settings { menubar?: string | boolean; - min_height?: number; + min_height?: number | string; - min_width?: number; + min_width?: number | string; preview_styles?: boolean | string; @@ -127,7 +127,7 @@ export interface Settings { toolbar?: boolean | string | string[]; - width?: number; + width?: number | string; body_class?: string;