tinymce-rails 6.2.0 → 6.3.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.
- checksums.yaml +4 -4
- data/app/assets/source/tinymce/tinymce.js +808 -566
- data/lib/tinymce/rails/version.rb +2 -2
- data/vendor/assets/javascripts/tinymce/icons/default/icons.js +1 -1
- data/vendor/assets/javascripts/tinymce/models/dom/model.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/advlist/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autolink/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/autosave/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/code/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/codesample/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/emoticons/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/help/plugin.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/image/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/importcss/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/insertdatetime/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/link/plugin.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/lists/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/media/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/nonbreaking/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/pagebreak/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/preview/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/quickbars/plugin.js +2 -2
- data/vendor/assets/javascripts/tinymce/plugins/save/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/searchreplace/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/template/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/visualchars/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/plugins/wordcount/plugin.js +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.inline.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/content.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide/skin.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/content.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/oxide-dark/skin.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/content.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5/skin.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.css +1 -1
- data/vendor/assets/javascripts/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -1
- data/vendor/assets/javascripts/tinymce/themes/silver/theme.js +2 -2
- data/vendor/assets/javascripts/tinymce/tinymce.d.ts +62 -17
- data/vendor/assets/javascripts/tinymce/tinymce.js +2 -2
- metadata +2 -2
@@ -33,7 +33,7 @@ declare type NormalizedEvent<E, T = any> = E & {
|
|
33
33
|
readonly isImmediatePropagationStopped: () => boolean;
|
34
34
|
readonly stopImmediatePropagation: () => void;
|
35
35
|
};
|
36
|
-
declare type MappedEvent<T, K extends string> = K extends keyof T ? T[K] : any;
|
36
|
+
declare type MappedEvent<T extends {}, K extends string> = K extends keyof T ? T[K] : any;
|
37
37
|
interface NativeEventMap {
|
38
38
|
'beforepaste': Event;
|
39
39
|
'blur': FocusEvent;
|
@@ -82,12 +82,12 @@ interface EventDispatcherSettings {
|
|
82
82
|
toggleEvent?: (name: string, state: boolean) => void | boolean;
|
83
83
|
beforeFire?: <T>(args: EditorEvent<T>) => void;
|
84
84
|
}
|
85
|
-
interface EventDispatcherConstructor<T extends
|
85
|
+
interface EventDispatcherConstructor<T extends {}> {
|
86
86
|
readonly prototype: EventDispatcher<T>;
|
87
87
|
new (settings?: EventDispatcherSettings): EventDispatcher<T>;
|
88
88
|
isNative: (name: string) => boolean;
|
89
89
|
}
|
90
|
-
declare class EventDispatcher<T> {
|
90
|
+
declare class EventDispatcher<T extends {}> {
|
91
91
|
static isNative(name: string): boolean;
|
92
92
|
private readonly settings;
|
93
93
|
private readonly scope;
|
@@ -151,6 +151,7 @@ interface ElementSettings {
|
|
151
151
|
text_inline_elements?: string;
|
152
152
|
void_elements?: string;
|
153
153
|
whitespace_elements?: string;
|
154
|
+
transparent_elements?: string;
|
154
155
|
}
|
155
156
|
interface SchemaSettings extends ElementSettings {
|
156
157
|
custom_elements?: string;
|
@@ -218,6 +219,7 @@ interface Schema {
|
|
218
219
|
getNonEmptyElements: () => SchemaMap;
|
219
220
|
getMoveCaretBeforeOnEnterElements: () => SchemaMap;
|
220
221
|
getWhitespaceElements: () => SchemaMap;
|
222
|
+
getTransparentElements: () => SchemaMap;
|
221
223
|
getSpecialElements: () => SchemaRegExpMap;
|
222
224
|
isValidChild: (name: string, child: string) => boolean;
|
223
225
|
isValid: (name: string, attr?: string) => boolean;
|
@@ -287,6 +289,7 @@ interface SetContentArgs {
|
|
287
289
|
paste?: boolean;
|
288
290
|
load?: boolean;
|
289
291
|
initial?: boolean;
|
292
|
+
[key: string]: any;
|
290
293
|
}
|
291
294
|
interface GetSelectionContentArgs extends GetContentArgs {
|
292
295
|
selection?: boolean;
|
@@ -506,6 +509,7 @@ interface CollectionItem {
|
|
506
509
|
}
|
507
510
|
interface ColorInputSpec extends FormComponentWithLabelSpec {
|
508
511
|
type: 'colorinput';
|
512
|
+
storageKey?: string;
|
509
513
|
}
|
510
514
|
interface ColorPickerSpec extends FormComponentWithLabelSpec {
|
511
515
|
type: 'colorpicker';
|
@@ -699,12 +703,12 @@ interface DialogTabChangeDetails {
|
|
699
703
|
newTabName: string;
|
700
704
|
oldTabName: string;
|
701
705
|
}
|
702
|
-
declare type DialogActionHandler<T> = (api: DialogInstanceApi<T>, details: DialogActionDetails) => void;
|
703
|
-
declare type DialogChangeHandler<T> = (api: DialogInstanceApi<T>, details: DialogChangeDetails<T>) => void;
|
704
|
-
declare type DialogSubmitHandler<T> = (api: DialogInstanceApi<T>) => void;
|
706
|
+
declare type DialogActionHandler<T extends DialogData> = (api: DialogInstanceApi<T>, details: DialogActionDetails) => void;
|
707
|
+
declare type DialogChangeHandler<T extends DialogData> = (api: DialogInstanceApi<T>, details: DialogChangeDetails<T>) => void;
|
708
|
+
declare type DialogSubmitHandler<T extends DialogData> = (api: DialogInstanceApi<T>) => void;
|
705
709
|
declare type DialogCloseHandler = () => void;
|
706
|
-
declare type DialogCancelHandler<T> = (api: DialogInstanceApi<T>) => void;
|
707
|
-
declare type DialogTabChangeHandler<T> = (api: DialogInstanceApi<T>, details: DialogTabChangeDetails) => void;
|
710
|
+
declare type DialogCancelHandler<T extends DialogData> = (api: DialogInstanceApi<T>) => void;
|
711
|
+
declare type DialogTabChangeHandler<T extends DialogData> = (api: DialogInstanceApi<T>, details: DialogTabChangeDetails) => void;
|
708
712
|
declare type DialogSize = 'normal' | 'medium' | 'large';
|
709
713
|
interface DialogSpec<T extends DialogData> {
|
710
714
|
title: string;
|
@@ -933,6 +937,7 @@ interface ColorSwatchMenuItemSpec extends BaseFancyMenuItemSpec<'colorswatch'> {
|
|
933
937
|
initData?: {
|
934
938
|
allowCustomColors?: boolean;
|
935
939
|
colors?: ChoiceMenuItemSpec[];
|
940
|
+
storageKey?: string;
|
936
941
|
};
|
937
942
|
}
|
938
943
|
declare type FancyMenuItemSpec = InsertTableMenuItemSpec | ColorSwatchMenuItemSpec;
|
@@ -978,11 +983,11 @@ type PublicDialog_d_CustomEditorInit = CustomEditorInit;
|
|
978
983
|
type PublicDialog_d_CustomEditorInitFn = CustomEditorInitFn;
|
979
984
|
type PublicDialog_d_DialogData = DialogData;
|
980
985
|
type PublicDialog_d_DialogSize = DialogSize;
|
981
|
-
type PublicDialog_d_DialogSpec<
|
982
|
-
type PublicDialog_d_DialogInstanceApi<
|
986
|
+
type PublicDialog_d_DialogSpec<T extends DialogData> = DialogSpec<T>;
|
987
|
+
type PublicDialog_d_DialogInstanceApi<T extends DialogData> = DialogInstanceApi<T>;
|
983
988
|
type PublicDialog_d_DialogFooterButtonSpec = DialogFooterButtonSpec;
|
984
989
|
type PublicDialog_d_DialogActionDetails = DialogActionDetails;
|
985
|
-
type PublicDialog_d_DialogChangeDetails<
|
990
|
+
type PublicDialog_d_DialogChangeDetails<T> = DialogChangeDetails<T>;
|
986
991
|
type PublicDialog_d_DialogTabChangeDetails = DialogTabChangeDetails;
|
987
992
|
type PublicDialog_d_DropZoneSpec = DropZoneSpec;
|
988
993
|
type PublicDialog_d_GridSpec = GridSpec;
|
@@ -1148,6 +1153,26 @@ type PublicToolbar_d_GroupToolbarButtonInstanceApi = GroupToolbarButtonInstanceA
|
|
1148
1153
|
declare namespace PublicToolbar_d {
|
1149
1154
|
export { PublicToolbar_d_ToolbarButtonSpec as ToolbarButtonSpec, PublicToolbar_d_ToolbarButtonInstanceApi as ToolbarButtonInstanceApi, PublicToolbar_d_ToolbarSplitButtonSpec as ToolbarSplitButtonSpec, PublicToolbar_d_ToolbarSplitButtonInstanceApi as ToolbarSplitButtonInstanceApi, PublicToolbar_d_ToolbarMenuButtonSpec as ToolbarMenuButtonSpec, PublicToolbar_d_ToolbarMenuButtonInstanceApi as ToolbarMenuButtonInstanceApi, PublicToolbar_d_ToolbarToggleButtonSpec as ToolbarToggleButtonSpec, PublicToolbar_d_ToolbarToggleButtonInstanceApi as ToolbarToggleButtonInstanceApi, PublicToolbar_d_GroupToolbarButtonSpec as GroupToolbarButtonSpec, PublicToolbar_d_GroupToolbarButtonInstanceApi as GroupToolbarButtonInstanceApi, };
|
1150
1155
|
}
|
1156
|
+
interface ViewNormalButtonSpec {
|
1157
|
+
type: 'button';
|
1158
|
+
text: string;
|
1159
|
+
buttonType?: 'primary' | 'secondary';
|
1160
|
+
onAction: () => void;
|
1161
|
+
}
|
1162
|
+
declare type ViewButtonSpec = ViewNormalButtonSpec;
|
1163
|
+
interface ViewInstanceApi {
|
1164
|
+
getContainer: () => HTMLElement;
|
1165
|
+
}
|
1166
|
+
interface ViewSpec {
|
1167
|
+
buttons?: ViewButtonSpec[];
|
1168
|
+
onShow: (api: ViewInstanceApi) => void;
|
1169
|
+
onHide: (api: ViewInstanceApi) => void;
|
1170
|
+
}
|
1171
|
+
type PublicView_d_ViewSpec = ViewSpec;
|
1172
|
+
type PublicView_d_ViewInstanceApi = ViewInstanceApi;
|
1173
|
+
declare namespace PublicView_d {
|
1174
|
+
export { PublicView_d_ViewSpec as ViewSpec, PublicView_d_ViewInstanceApi as ViewInstanceApi, };
|
1175
|
+
}
|
1151
1176
|
interface Registry$1 {
|
1152
1177
|
addButton: (name: string, spec: ToolbarButtonSpec) => void;
|
1153
1178
|
addGroupToolbarButton: (name: string, spec: GroupToolbarButtonSpec) => void;
|
@@ -1163,6 +1188,7 @@ interface Registry$1 {
|
|
1163
1188
|
addIcon: (name: string, svgData: string) => void;
|
1164
1189
|
addAutocompleter: (name: string, spec: AutocompleterSpec) => void;
|
1165
1190
|
addSidebar: (name: string, spec: SidebarSpec) => void;
|
1191
|
+
addView: (name: string, spec: ViewSpec) => void;
|
1166
1192
|
getAll: () => {
|
1167
1193
|
buttons: Record<string, ToolbarButtonSpec | GroupToolbarButtonSpec | ToolbarMenuButtonSpec | ToolbarSplitButtonSpec | ToolbarToggleButtonSpec>;
|
1168
1194
|
menuItems: Record<string, MenuItemSpec | NestedMenuItemSpec | ToggleMenuItemSpec>;
|
@@ -1171,6 +1197,7 @@ interface Registry$1 {
|
|
1171
1197
|
contextToolbars: Record<string, ContextToolbarSpec | ContextFormSpec>;
|
1172
1198
|
icons: Record<string, string>;
|
1173
1199
|
sidebars: Record<string, SidebarSpec>;
|
1200
|
+
views: Record<string, ViewSpec>;
|
1174
1201
|
};
|
1175
1202
|
}
|
1176
1203
|
interface AutocompleteLookupData {
|
@@ -1307,6 +1334,7 @@ interface StyleSheetLoader {
|
|
1307
1334
|
unload: (url: string) => void;
|
1308
1335
|
unloadAll: (urls: string[]) => void;
|
1309
1336
|
_setReferrerPolicy: (referrerPolicy: ReferrerPolicy) => void;
|
1337
|
+
_setContentCssCors: (contentCssCors: boolean) => void;
|
1310
1338
|
}
|
1311
1339
|
declare type Registry = Registry$1;
|
1312
1340
|
interface EditorUiApi {
|
@@ -1323,22 +1351,22 @@ type Ui_d_Registry = Registry;
|
|
1323
1351
|
type Ui_d_EditorUiApi = EditorUiApi;
|
1324
1352
|
type Ui_d_EditorUi = EditorUi;
|
1325
1353
|
declare namespace Ui_d {
|
1326
|
-
export { Ui_d_Registry as Registry, PublicDialog_d as Dialog, PublicInlineContent_d as InlineContent, PublicMenu_d as Menu, PublicSidebar_d as Sidebar, PublicToolbar_d as Toolbar, Ui_d_EditorUiApi as EditorUiApi, Ui_d_EditorUi as EditorUi, };
|
1354
|
+
export { Ui_d_Registry as Registry, PublicDialog_d as Dialog, PublicInlineContent_d as InlineContent, PublicMenu_d as Menu, PublicView_d as View, PublicSidebar_d as Sidebar, PublicToolbar_d as Toolbar, Ui_d_EditorUiApi as EditorUiApi, Ui_d_EditorUi as EditorUi, };
|
1327
1355
|
}
|
1328
1356
|
interface WindowParams {
|
1329
1357
|
readonly inline?: 'cursor' | 'toolbar';
|
1330
1358
|
readonly ariaAttrs?: boolean;
|
1331
1359
|
}
|
1332
|
-
declare type InstanceApi<T> = UrlDialogInstanceApi | DialogInstanceApi<T>;
|
1360
|
+
declare type InstanceApi<T extends DialogData> = UrlDialogInstanceApi | DialogInstanceApi<T>;
|
1333
1361
|
interface WindowManagerImpl {
|
1334
|
-
open: <T>(config: DialogSpec<T>, params: WindowParams | undefined, closeWindow: (dialog: DialogInstanceApi<T>) => void) => DialogInstanceApi<T>;
|
1362
|
+
open: <T extends DialogData>(config: DialogSpec<T>, params: WindowParams | undefined, closeWindow: (dialog: DialogInstanceApi<T>) => void) => DialogInstanceApi<T>;
|
1335
1363
|
openUrl: (config: UrlDialogSpec, closeWindow: (dialog: UrlDialogInstanceApi) => void) => UrlDialogInstanceApi;
|
1336
1364
|
alert: (message: string, callback: () => void) => void;
|
1337
1365
|
confirm: (message: string, callback: (state: boolean) => void) => void;
|
1338
1366
|
close: (dialog: InstanceApi<any>) => void;
|
1339
1367
|
}
|
1340
1368
|
interface WindowManager {
|
1341
|
-
open: <T>(config: DialogSpec<T>, params?: WindowParams) => DialogInstanceApi<T>;
|
1369
|
+
open: <T extends DialogData>(config: DialogSpec<T>, params?: WindowParams) => DialogInstanceApi<T>;
|
1342
1370
|
openUrl: (config: UrlDialogSpec) => UrlDialogInstanceApi;
|
1343
1371
|
alert: (message: string, callback?: () => void, scope?: any) => void;
|
1344
1372
|
confirm: (message: string, callback?: (state: boolean) => void, scope?: any) => void;
|
@@ -1591,7 +1619,7 @@ type EventTypes_d_SwitchModeEvent = SwitchModeEvent;
|
|
1591
1619
|
type EventTypes_d_ChangeEvent = ChangeEvent;
|
1592
1620
|
type EventTypes_d_AddUndoEvent = AddUndoEvent;
|
1593
1621
|
type EventTypes_d_UndoRedoEvent = UndoRedoEvent;
|
1594
|
-
type EventTypes_d_WindowEvent<
|
1622
|
+
type EventTypes_d_WindowEvent<T extends DialogData> = WindowEvent<T>;
|
1595
1623
|
type EventTypes_d_ProgressStateEvent = ProgressStateEvent;
|
1596
1624
|
type EventTypes_d_AfterProgressStateEvent = AfterProgressStateEvent;
|
1597
1625
|
type EventTypes_d_PlaceholderToggleEvent = PlaceholderToggleEvent;
|
@@ -1708,7 +1736,13 @@ interface BaseEditorOptions {
|
|
1708
1736
|
branding?: boolean;
|
1709
1737
|
cache_suffix?: string;
|
1710
1738
|
color_cols?: number;
|
1739
|
+
color_cols_foreground?: number;
|
1740
|
+
color_cols_background?: number;
|
1711
1741
|
color_map?: string[];
|
1742
|
+
color_map_foreground?: string[];
|
1743
|
+
color_map_background?: string[];
|
1744
|
+
color_default_foreground?: string;
|
1745
|
+
color_default_background?: string;
|
1712
1746
|
content_css?: boolean | string | string[];
|
1713
1747
|
content_css_cors?: boolean;
|
1714
1748
|
content_security_policy?: string;
|
@@ -1896,7 +1930,12 @@ interface EditorOptions extends NormalizedEditorOptions {
|
|
1896
1930
|
body_class: string;
|
1897
1931
|
body_id: string;
|
1898
1932
|
br_newline_selector: string;
|
1933
|
+
color_map: string[];
|
1899
1934
|
color_cols: number;
|
1935
|
+
color_cols_foreground: number;
|
1936
|
+
color_cols_background: number;
|
1937
|
+
color_default_background: string;
|
1938
|
+
color_default_foreground: string;
|
1900
1939
|
content_css: string[];
|
1901
1940
|
contextmenu: string[];
|
1902
1941
|
custom_colors: boolean;
|
@@ -2286,6 +2325,9 @@ interface EditorSelection {
|
|
2286
2325
|
placeCaretAt: (clientX: number, clientY: number) => void;
|
2287
2326
|
getBoundingClientRect: () => ClientRect | DOMRect;
|
2288
2327
|
destroy: () => void;
|
2328
|
+
expand: (options?: {
|
2329
|
+
type: 'word';
|
2330
|
+
}) => void;
|
2289
2331
|
}
|
2290
2332
|
declare type EditorCommandCallback<S> = (this: S, ui: boolean, value: any) => void;
|
2291
2333
|
declare type EditorCommandsCallback = (command: string, ui: boolean, value?: any) => void;
|
@@ -2337,7 +2379,7 @@ interface I18n {
|
|
2337
2379
|
isRtl: () => boolean;
|
2338
2380
|
hasCode: (code: string) => boolean;
|
2339
2381
|
}
|
2340
|
-
interface Observable<T> {
|
2382
|
+
interface Observable<T extends {}> {
|
2341
2383
|
fire<K extends string, U extends MappedEvent<T, K>>(name: K, args?: U, bubble?: boolean): EditorEvent<U>;
|
2342
2384
|
dispatch<K extends string, U extends MappedEvent<T, K>>(name: K, args?: U, bubble?: boolean): EditorEvent<U>;
|
2343
2385
|
on<K extends string>(name: K, callback: (event: EditorEvent<MappedEvent<T, K>>) => void, prepend?: boolean): EventDispatcher<T>;
|
@@ -2758,6 +2800,9 @@ interface RangeUtils {
|
|
2758
2800
|
walk: (rng: Range, callback: (nodes: Node[]) => void) => void;
|
2759
2801
|
split: (rng: Range) => RangeLikeObject;
|
2760
2802
|
normalize: (rng: Range) => boolean;
|
2803
|
+
expand: (rng: Range, options?: {
|
2804
|
+
type: 'word';
|
2805
|
+
}) => Range;
|
2761
2806
|
}
|
2762
2807
|
interface ScriptLoaderSettings {
|
2763
2808
|
referrerPolicy?: ReferrerPolicy;
|