mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #17614 from kamilbrk/tinymce-imagetools-plugin
TinyMCE - Add types for imagetools plugin
This commit is contained in:
Vendored
+8
@@ -282,6 +282,14 @@ export interface Settings {
|
||||
autosave_restore_when_empty?: boolean;
|
||||
|
||||
autosave_retention?: string;
|
||||
|
||||
imagetools_cors_hosts?: string[];
|
||||
|
||||
imagetools_proxy?: string;
|
||||
|
||||
imagetools_toolbar?: string;
|
||||
|
||||
imagetools_api_key?: string;
|
||||
}
|
||||
|
||||
export namespace settings {
|
||||
|
||||
@@ -8,7 +8,7 @@ tinymce.init({
|
||||
'advlist autolink lists link image charmap print preview anchor',
|
||||
'searchreplace visualblocks code fullscreen',
|
||||
'insertdatetime media table contextmenu paste code',
|
||||
'autosave'
|
||||
'autosave imagetools'
|
||||
],
|
||||
autosave_ask_before_unload: false,
|
||||
autosave_interval: "20s",
|
||||
@@ -16,7 +16,9 @@ tinymce.init({
|
||||
autosave_restore_when_empty: false,
|
||||
autosave_retention: "30m",
|
||||
toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
|
||||
content_css: '//www.tinymce.com/css/codepen.min.css'
|
||||
content_css: '//www.tinymce.com/css/codepen.min.css',
|
||||
imagetools_cors_hosts: ['mydomain.com', 'otherdomain.com'],
|
||||
imagetools_proxy: "proxy.php"
|
||||
});
|
||||
|
||||
const t = new tinymce.util.Color('#FFFFFF');
|
||||
|
||||
Reference in New Issue
Block a user