opentiny 6.9.28 → 6.9.30
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.
- package/package.json +1 -1
- package/tinymce.d.ts +1 -0
- package/tinymce.js +5 -2
- package/tinymce.min.js +1 -1
package/package.json
CHANGED
package/tinymce.d.ts
CHANGED
|
@@ -2194,6 +2194,7 @@ interface DOMUtilsSettings {
|
|
|
2194
2194
|
contentCssCors: boolean;
|
|
2195
2195
|
referrerPolicy: ReferrerPolicy;
|
|
2196
2196
|
force_hex_color: ForceHexColor;
|
|
2197
|
+
allow_svg_data_urls: boolean;
|
|
2197
2198
|
}
|
|
2198
2199
|
type Target = Node | Window;
|
|
2199
2200
|
type RunArguments<T extends Node = Node> = string | T | Array<string | T> | null;
|
package/tinymce.js
CHANGED
|
@@ -4169,7 +4169,8 @@
|
|
|
4169
4169
|
const styles = Styles({
|
|
4170
4170
|
url_converter: settings.url_converter,
|
|
4171
4171
|
url_converter_scope: settings.url_converter_scope,
|
|
4172
|
-
force_hex_color: settings.force_hex_color
|
|
4172
|
+
force_hex_color: settings.force_hex_color,
|
|
4173
|
+
allow_svg_data_urls: settings.allow_svg_data_urls
|
|
4173
4174
|
}, settings.schema);
|
|
4174
4175
|
const events = settings.ownEvents ? new EventUtils() : EventUtils.Event;
|
|
4175
4176
|
const blockElementsMap = schema.getBlockElements();
|
|
@@ -7732,6 +7733,7 @@
|
|
|
7732
7733
|
const getDetailsInitialState = option('details_initial_state');
|
|
7733
7734
|
const getDetailsSerializedState = option('details_serialized_state');
|
|
7734
7735
|
const shouldForceHexColor = option('force_hex_color');
|
|
7736
|
+
const shouldAllowSvgDataUrls = option('allow_svg_data_urls');
|
|
7735
7737
|
const shouldSandboxIframes = option('sandbox_iframes');
|
|
7736
7738
|
const getSandboxIframesExclusions = editor => editor.options.get('sandbox_iframes_exclusions');
|
|
7737
7739
|
const shouldConvertUnsafeEmbeds = option('convert_unsafe_embeds');
|
|
@@ -28965,7 +28967,8 @@
|
|
|
28965
28967
|
onSetAttrib: e => {
|
|
28966
28968
|
editor.dispatch('SetAttrib', e);
|
|
28967
28969
|
},
|
|
28968
|
-
force_hex_color: shouldForceHexColor(editor)
|
|
28970
|
+
force_hex_color: shouldForceHexColor(editor),
|
|
28971
|
+
allow_svg_data_urls: shouldAllowSvgDataUrls(editor)
|
|
28969
28972
|
});
|
|
28970
28973
|
editor.parser = createParser(editor);
|
|
28971
28974
|
editor.serializer = DomSerializer(mkSerializerSettings(editor), editor);
|