mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
[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 <thiagotbl@gmail.com>
This commit is contained in:
committed by
Mohamed Hegazy
parent
e792d401de
commit
ee68a21521
Vendored
+4
-4
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user