@umbraco-cms/backoffice 14.0.0--preview004-394e37f9 → 14.0.0--preview004-66ee1ff8
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/dist-cms/custom-elements.json +27 -7
- package/dist-cms/external/sanitize-html/index.d.ts +20 -1
- package/dist-cms/external/sanitize-html/index.js +2 -45
- package/dist-cms/mocks/data/data-type.data.js +1 -1
- package/dist-cms/packages/core/components/input-markdown-editor/input-markdown.element.d.ts +1 -1
- package/dist-cms/packages/core/components/input-markdown-editor/input-markdown.element.js +6 -6
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.d.ts +1 -0
- package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js +61 -2
- package/dist-cms/packages/core/modal/common/link-picker/link-picker-modal.element.d.ts +2 -0
- package/dist-cms/packages/core/modal/common/link-picker/link-picker-modal.element.js +81 -39
- package/dist-cms/packages/core/property-editor/schemas/Umbraco.RichText.js +1 -1
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js +13 -3
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/config/manifests.js +4 -4
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.d.ts +6 -0
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js +46 -5
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js +6 -6
- package/dist-cms/packages/core/property-editor/uis/tiny-mce/manifests.js +1 -1
- package/dist-cms/packages/templating/scripts/workspace/scripts-workspace.element.js +2 -2
- package/dist-cms/packages/templating/stylesheets/repository/sources/stylesheet.server.data.d.ts +6 -0
- package/dist-cms/packages/templating/stylesheets/repository/sources/stylesheet.server.data.js +8 -0
- package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.d.ts +2 -1
- package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.js +3 -0
- package/dist-cms/packages/templating/stylesheets/workspace/stylesheet-workspace.context.js +2 -2
- package/dist-cms/packages/templating/stylesheets/workspace/views/code-editor/stylesheet-workspace-view-code-editor.element.js +2 -2
- package/dist-cms/packages/templating/stylesheets/workspace/views/rich-text-editor/stylesheet-workspace-view-rich-text-editor-rule.element.js +2 -2
- package/dist-cms/packages/templating/stylesheets/workspace/views/rich-text-editor/stylesheet-workspace-view-rich-text-editor-style-sidebar.element.js +2 -2
- package/dist-cms/packages/templating/stylesheets/workspace/views/rich-text-editor/stylesheet-workspace-view-rich-text-editor.element.js +2 -2
- package/dist-cms/tsconfig.build.tsbuildinfo +1 -1
- package/dist-cms/vscode-html-custom-data.json +9 -5
- package/package.json +4 -2
|
@@ -2428,6 +2428,16 @@
|
|
|
2428
2428
|
"name": "umb-link-picker-modal",
|
|
2429
2429
|
"path": "./../src/packages/core/modal/common/link-picker/link-picker-modal.element.ts",
|
|
2430
2430
|
"properties": [
|
|
2431
|
+
{
|
|
2432
|
+
"name": "documentExpand",
|
|
2433
|
+
"type": "boolean",
|
|
2434
|
+
"default": "false"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "mediaExpanded",
|
|
2438
|
+
"type": "boolean",
|
|
2439
|
+
"default": "false"
|
|
2440
|
+
},
|
|
2431
2441
|
{
|
|
2432
2442
|
"name": "styles",
|
|
2433
2443
|
"type": "array",
|
|
@@ -3864,11 +3874,21 @@
|
|
|
3864
3874
|
"type": "never[]",
|
|
3865
3875
|
"default": "[]"
|
|
3866
3876
|
},
|
|
3877
|
+
{
|
|
3878
|
+
"name": "stylesheetList",
|
|
3879
|
+
"type": "array",
|
|
3880
|
+
"default": "[]"
|
|
3881
|
+
},
|
|
3867
3882
|
{
|
|
3868
3883
|
"name": "styles",
|
|
3869
3884
|
"type": "array",
|
|
3870
3885
|
"default": "[\"UmbTextStyles\",null]"
|
|
3871
3886
|
}
|
|
3887
|
+
],
|
|
3888
|
+
"events": [
|
|
3889
|
+
{
|
|
3890
|
+
"name": "property-value-change"
|
|
3891
|
+
}
|
|
3872
3892
|
]
|
|
3873
3893
|
},
|
|
3874
3894
|
{
|
|
@@ -7588,7 +7608,7 @@
|
|
|
7588
7608
|
{
|
|
7589
7609
|
"name": "styles",
|
|
7590
7610
|
"type": "array",
|
|
7591
|
-
"default": "[\"
|
|
7611
|
+
"default": "[\"UmbTextStyles\",null]"
|
|
7592
7612
|
}
|
|
7593
7613
|
]
|
|
7594
7614
|
},
|
|
@@ -7620,8 +7640,8 @@
|
|
|
7620
7640
|
"properties": [
|
|
7621
7641
|
{
|
|
7622
7642
|
"name": "styles",
|
|
7623
|
-
"type": "
|
|
7624
|
-
"default": "[\"
|
|
7643
|
+
"type": "array",
|
|
7644
|
+
"default": "[\"UmbTextStyles\",null]"
|
|
7625
7645
|
}
|
|
7626
7646
|
]
|
|
7627
7647
|
},
|
|
@@ -7642,7 +7662,7 @@
|
|
|
7642
7662
|
{
|
|
7643
7663
|
"name": "styles",
|
|
7644
7664
|
"type": "array",
|
|
7645
|
-
"default": "[\"
|
|
7665
|
+
"default": "[\"UmbTextStyles\",null]"
|
|
7646
7666
|
}
|
|
7647
7667
|
]
|
|
7648
7668
|
},
|
|
@@ -7653,7 +7673,7 @@
|
|
|
7653
7673
|
{
|
|
7654
7674
|
"name": "styles",
|
|
7655
7675
|
"type": "array",
|
|
7656
|
-
"default": "[\"
|
|
7676
|
+
"default": "[\"UmbTextStyles\",null]"
|
|
7657
7677
|
}
|
|
7658
7678
|
]
|
|
7659
7679
|
},
|
|
@@ -7673,8 +7693,8 @@
|
|
|
7673
7693
|
},
|
|
7674
7694
|
{
|
|
7675
7695
|
"name": "styles",
|
|
7676
|
-
"type": "
|
|
7677
|
-
"default": "[\"
|
|
7696
|
+
"type": "array",
|
|
7697
|
+
"default": "[\"UmbTextStyles\",null]"
|
|
7678
7698
|
}
|
|
7679
7699
|
]
|
|
7680
7700
|
},
|
|
@@ -1,2 +1,21 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/// <reference types="trusted-types" />
|
|
3
|
+
import DOMPurify from 'dompurify';
|
|
4
|
+
declare const sanitizeHtml: {
|
|
5
|
+
(source: string | Node): string;
|
|
6
|
+
(source: string | Node, config: DOMPurify.Config & {
|
|
7
|
+
RETURN_TRUSTED_TYPE: true;
|
|
8
|
+
}): TrustedHTML;
|
|
9
|
+
(source: string | Node, config: DOMPurify.Config & {
|
|
10
|
+
RETURN_DOM_FRAGMENT?: false | undefined;
|
|
11
|
+
RETURN_DOM?: false | undefined;
|
|
12
|
+
}): string;
|
|
13
|
+
(source: string | Node, config: DOMPurify.Config & {
|
|
14
|
+
RETURN_DOM_FRAGMENT: true;
|
|
15
|
+
}): DocumentFragment;
|
|
16
|
+
(source: string | Node, config: DOMPurify.Config & {
|
|
17
|
+
RETURN_DOM: true;
|
|
18
|
+
}): HTMLElement;
|
|
19
|
+
(source: string | Node, config: DOMPurify.Config): string | HTMLElement | DocumentFragment;
|
|
20
|
+
};
|
|
2
21
|
export { sanitizeHtml };
|