Variable tinyMCECommonOptionsSchemaConst
tinyMCECommonOptionsSchema: ZodObject<
{
cache_suffix: ZodString;
content_css: ZodString;
language: ZodString;
quickbars_selection_toolbar: ZodString;
sandbox_iframes: ZodOptional<ZodBoolean>;
sandbox_iframes_exclusions: ZodOptional<ZodArray<ZodString, "many">>;
toolbar: ZodString;
} & {
branding: ZodBoolean;
browser_spellcheck: ZodBoolean;
contextmenu: ZodUnion<[ZodString, ZodLiteral<false>]>;
convert_urls: ZodBoolean;
custom_elements: ZodString;
extended_valid_elements: ZodString;
font_size_formats: ZodString;
height: ZodNumber;
inline_boundaries_selector: ZodString;
invalid_elements: ZodString;
license_key: ZodLiteral<"gpl">;
menubar: ZodBoolean;
paste_data_images: ZodBoolean;
plugins: ZodArray<ZodString, "many">;
promotion: ZodBoolean;
quickbars_insert_toolbar: ZodBoolean;
skin: ZodString;
text_patterns: ZodArray<
ZodObject<
{
cmd: ZodOptional<ZodString>;
end: ZodOptional<ZodString>;
format: ZodOptional<ZodString>;
start: ZodString;
},
"strip",
ZodTypeAny,
{ cmd?: string; end?: string; format?: string; start: string },
{ cmd?: string; end?: string; format?: string; start: string },
>,
"many",
>;
toolbar_mode: ZodUnion<
[
ZodLiteral<"floating">,
ZodLiteral<"sliding">,
ZodLiteral<"scrolling">,
ZodLiteral<"wrap">,
],
>;
},
"strip",
ZodTypeAny,
{
branding: boolean;
browser_spellcheck: boolean;
cache_suffix: string;
content_css: string;
contextmenu: string
| false;
convert_urls: boolean;
custom_elements: string;
extended_valid_elements: string;
font_size_formats: string;
height: number;
inline_boundaries_selector: string;
invalid_elements: string;
language: string;
license_key: "gpl";
menubar: boolean;
paste_data_images: boolean;
plugins: string[];
promotion: boolean;
quickbars_insert_toolbar: boolean;
quickbars_selection_toolbar: string;
sandbox_iframes?: boolean;
sandbox_iframes_exclusions?: string[];
skin: string;
text_patterns: {
cmd?: string;
end?: string;
format?: string;
start: string;
}[];
toolbar: string;
toolbar_mode: "floating"
| "sliding"
| "scrolling"
| "wrap";
},
{
branding: boolean;
browser_spellcheck: boolean;
cache_suffix: string;
content_css: string;
contextmenu: string
| false;
convert_urls: boolean;
custom_elements: string;
extended_valid_elements: string;
font_size_formats: string;
height: number;
inline_boundaries_selector: string;
invalid_elements: string;
language: string;
license_key: "gpl";
menubar: boolean;
paste_data_images: boolean;
plugins: string[];
promotion: boolean;
quickbars_insert_toolbar: boolean;
quickbars_selection_toolbar: string;
sandbox_iframes?: boolean;
sandbox_iframes_exclusions?: string[];
skin: string;
text_patterns: {
cmd?: string;
end?: string;
format?: string;
start: string;
}[];
toolbar: string;
toolbar_mode: "floating"
| "sliding"
| "scrolling"
| "wrap";
},
> = ...