diff --git a/src/Umbraco.Core/HealthChecks/Checks/Security/ExcessiveHeadersCheck.cs b/src/Umbraco.Core/HealthChecks/Checks/Security/ExcessiveHeadersCheck.cs index 377fbff718..cdd8a0493f 100644 --- a/src/Umbraco.Core/HealthChecks/Checks/Security/ExcessiveHeadersCheck.cs +++ b/src/Umbraco.Core/HealthChecks/Checks/Security/ExcessiveHeadersCheck.cs @@ -62,7 +62,14 @@ namespace Umbraco.Cms.Core.HealthChecks.Checks.Security using HttpResponseMessage response = await HttpClient.SendAsync(request); IEnumerable allHeaders = response.Headers.Select(x => x.Key); - var headersToCheckFor = new[] { "Server", "X-Powered-By", "X-AspNet-Version", "X-AspNetMvc-Version" }; + var headersToCheckFor = new List {"Server", "X-Powered-By", "X-AspNet-Version", "X-AspNetMvc-Version" }; + + // Ignore if server header is present and it's set to cloudflare + if (allHeaders.InvariantContains("Server") && response.Headers.TryGetValues("Server", out var serverHeaders) && serverHeaders.ToString().InvariantEquals("cloudflare")) + { + headersToCheckFor.Remove("Server"); + } + var headersFound = allHeaders .Intersect(headersToCheckFor) .ToArray(); diff --git a/src/Umbraco.Core/PropertyEditors/MarkdownConfiguration.cs b/src/Umbraco.Core/PropertyEditors/MarkdownConfiguration.cs index 064ddc2f64..d9eb13a50d 100644 --- a/src/Umbraco.Core/PropertyEditors/MarkdownConfiguration.cs +++ b/src/Umbraco.Core/PropertyEditors/MarkdownConfiguration.cs @@ -12,7 +12,7 @@ public string DefaultValue { get; set; } - [ConfigurationField("overlayWidthSize", "Overlay Width Size", "views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.html")] - public string OverlayWidthSize { get; set; } + [ConfigurationField("overlaySize", "Overlay Size", "overlaysize", Description = "Select the width of the overlay (link picker).")] + public string OverlaySize { get; set; } } } diff --git a/src/Umbraco.Core/PropertyEditors/MultiUrlPickerConfiguration.cs b/src/Umbraco.Core/PropertyEditors/MultiUrlPickerConfiguration.cs index 4131c6f00e..e8e4dc57f6 100644 --- a/src/Umbraco.Core/PropertyEditors/MultiUrlPickerConfiguration.cs +++ b/src/Umbraco.Core/PropertyEditors/MultiUrlPickerConfiguration.cs @@ -9,8 +9,8 @@ namespace Umbraco.Cms.Core.PropertyEditors [ConfigurationField("maxNumber", "Maximum number of items", "number")] public int MaxNumber { get; set; } - [ConfigurationField("overlayWidthSize", "Overlay width size", "views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.html")] - public string OverlayWidthSize { get; set; } + [ConfigurationField("overlaySize", "Overlay Size", "overlaysize", Description = "Select the width of the overlay.")] + public string OverlaySize { get; set; } [ConfigurationField(Constants.DataTypes.ReservedPreValueKeys.IgnoreUserStartNodes, "Ignore user start nodes", "boolean", diff --git a/src/Umbraco.Core/PropertyEditors/RichTextConfiguration.cs b/src/Umbraco.Core/PropertyEditors/RichTextConfiguration.cs index 2d580b7590..29db502c9e 100644 --- a/src/Umbraco.Core/PropertyEditors/RichTextConfiguration.cs +++ b/src/Umbraco.Core/PropertyEditors/RichTextConfiguration.cs @@ -9,6 +9,9 @@ [ConfigurationField("editor", "Editor", "views/propertyeditors/rte/rte.prevalues.html", HideLabel = true)] public object Editor { get; set; } + [ConfigurationField("overlaySize", "Overlay Size", "overlaysize", Description = "Select the width of the overlay (link picker).")] + public string OverlaySize { get; set; } + [ConfigurationField("hideLabel", "Hide Label", "boolean")] public bool HideLabel { get; set; } diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogressbar.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogressbar.directive.js index 59f51fca3f..a71dcc5ffe 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogressbar.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogressbar.directive.js @@ -17,6 +17,7 @@ Use this directive to generate a progress bar. @param {number} percentage (attribute): The progress in percentage. @param {string} size (attribute): The size (s, m). +@param {string} color (attribute): The color of the progress (primary, secondary, success, warning, danger). Success by default. **/ @@ -31,7 +32,8 @@ Use this directive to generate a progress bar. templateUrl: 'views/components/umb-progress-bar.html', scope: { percentage: "@", - size: "@?" + size: "@?", + color: "@?" } }; diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogresscircle.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogresscircle.directive.js index 871ae771d5..f197520eec 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogresscircle.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/umbprogresscircle.directive.js @@ -20,8 +20,8 @@ Use this directive to render a circular progressbar. -@param {string} size (attribute): This parameter defines the width and the height of the circle in pixels. @param {string} percentage (attribute): Takes a number between 0 and 100 and applies it to the circle's highlight length. +@param {string} size (attribute): This parameter defines the width and the height of the circle in pixels. @param {string} color (attribute): The color of the highlight (primary, secondary, success, warning, danger). Success by default. **/ @@ -72,9 +72,9 @@ Use this directive to render a circular progressbar. replace: true, templateUrl: 'views/components/umb-progress-circle.html', scope: { - size: "@?", percentage: "@", - color: "@" + size: "@?", + color: "@?" }, link: link diff --git a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js index 0297d7ffd7..4c3901e63c 100644 --- a/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js +++ b/src/Umbraco.Web.UI.Client/src/common/services/tinymce.service.js @@ -1546,22 +1546,23 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s //create link picker self.createLinkPicker(args.editor, function (currentTarget, anchorElement) { + entityResource.getAnchors(args.model.value).then(anchorValues => { - entityResource.getAnchors(args.model.value).then(function (anchorValues) { - var linkPicker = { + const linkPicker = { currentTarget: currentTarget, dataTypeKey: args.model.dataTypeKey, ignoreUserStartNodes: args.model.config.ignoreUserStartNodes, anchors: anchorValues, - size: args.model.config.editor.overlayWidthSize, - submit: function (model) { + size: args.model.config.overlaySize, + submit: model => { self.insertLinkInEditor(args.editor, model.target, anchorElement); editorService.close(); }, - close: function () { + close: () => { editorService.close(); } }; + editorService.linkPicker(linkPicker); }); diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less index 033fe8fc0e..b92d1db05a 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-grid.less @@ -842,6 +842,7 @@ width: 100%; left: 0; padding-top: 15px; + top: 15px; } .help-text { diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-bar.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-bar.less index 8c15084d55..c8fb742f5e 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-bar.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-bar.less @@ -17,6 +17,26 @@ bottom: 0; width: 100%; border-radius: 10px; + + &--primary { + background: @blue; + } + + &--secondary { + background: @purple; + } + + &--success { + background: @green; + } + + &--warning { + background: @yellow; + } + + &--danger { + background: @red; + } } .umb-progress-bar--s { @@ -27,4 +47,4 @@ .umb-progress-bar--m { height: 10px; border-radius: 10px; -} \ No newline at end of file +} diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-circle.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-circle.less index d8fb3b4d8f..b1e8ed1ecd 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-circle.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-progress-circle.less @@ -11,26 +11,26 @@ // circle highlight on progressbar .umb-progress-circle__highlight { stroke: @green; -} -.umb-progress-circle__highlight--primary { - stroke: @blue; -} + &--primary { + stroke: @blue; + } -.umb-progress-circle__highlight--secondary { - stroke: @purple; -} + &--secondary { + stroke: @purple; + } -.umb-progress-circle__highlight--success { - stroke: @green; -} + &--success { + stroke: @green; + } -.umb-progress-circle__highlight--warning { - stroke: @yellow; -} + &--warning { + stroke: @yellow; + } -.umb-progress-circle__highlight--danger { - stroke: @red; + &--danger { + stroke: @red; + } } // circle progressbar bg diff --git a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.html b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.html index b2899cf6dc..938d719431 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.html +++ b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.html @@ -75,7 +75,7 @@ ng-class="{'trashed': vm.media.trashed}" extension="{{vm.media.extension}}" icon="{{vm.media.icon}}" - size="s" + size="m" text="{{vm.media.name}}"> diff --git a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.less b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.less index 1de962f7e1..139d7bef4a 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.less +++ b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/mediaentryeditor/mediaentryeditor.less @@ -84,6 +84,7 @@ width: 4px; } } + &.--is-defined { } @@ -109,14 +110,16 @@ } .umb-media-entry-editor__imageholder { - display: block; + display: flex; + align-items: center; + justify-content: center; position: relative; height: calc(100% - 50px); } + .umb-media-entry-editor__imageholder-actions { - background-color: white; + background-color: @white; height: 50px; display: flex; justify-content: center; } - diff --git a/src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html b/src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html index 10aa6a774a..e74c1d8d65 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/imaging/umb-image-gravity.html @@ -3,8 +3,8 @@
- - + +
diff --git a/src/Umbraco.Web.UI.Client/src/views/components/mediacard/umb-media-card.less b/src/Umbraco.Web.UI.Client/src/views/components/mediacard/umb-media-card.less index de3840b4d7..3d06c8b16f 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/mediacard/umb-media-card.less +++ b/src/Umbraco.Web.UI.Client/src/views/components/mediacard/umb-media-card.less @@ -1,4 +1,4 @@ -.umb-media-card, +.umb-media-card, umb-media-card { position: relative; display: inline-block; @@ -7,11 +7,8 @@ umb-media-card { border-radius: @baseBorderRadius; //box-shadow: 0 1px 2px rgba(0,0,0,.2); overflow: hidden; - transition: box-shadow 120ms; - cursor: pointer; - .umb-outline(); &:hover { @@ -24,7 +21,7 @@ umb-media-card { position: absolute; border: 2px solid @ui-active-border; border-radius: @baseBorderRadius; - top:0; + top: 0; bottom: 0; left: 0; right: 0; @@ -36,28 +33,34 @@ umb-media-card { } &.--sortable-placeholder { + box-shadow: none; + &::after { content: ""; position: absolute; - background-color:rgba(@ui-drop-area-color, .05); + background-color: rgba(@ui-drop-area-color, .05); border: 2px solid rgba(@ui-drop-area-color, .1); border-radius: @baseBorderRadius; box-shadow: 0 0 4px rgba(@ui-drop-area-color, 0.05); - top:0; + top: 0; bottom: 0; left: 0; right: 0; animation: umb-block-card--sortable-placeholder 400ms ease-in-out alternate infinite; + @keyframes umb-block-card--sortable-placeholder { - 0% { opacity: 1; } - 100% { opacity: 0.5; } + 0% { + opacity: 1; + } + + 100% { + opacity: 0.5; + } } } - box-shadow: none; } .__status { - position: absolute; top: 0; left: 0; @@ -72,22 +75,26 @@ umb-media-card { .__showcase { position: relative; + display: flex; max-width: 100%; min-height: 120px; max-height: 240px; text-align: center; - //padding-bottom: 10/16*100%; - //background-color: @gray-12; + align-items: center; + justify-content: center; + + .checkeredBackground(); img { object-fit: contain; max-height: 240px; } - + umb-file-icon { width: 100%; padding-bottom: 100%; display: block; + .umb-file-icon { position: absolute; top: 0; @@ -100,7 +107,7 @@ umb-media-card { } } } - + .__info { position: absolute; text-align: left; @@ -108,15 +115,17 @@ umb-media-card { width: 100%; background-color: #fff; padding-top: 6px; - padding-bottom: 7px;// 7 + 1 to compentiate for the -1 substraction in margin-bottom. - + padding-bottom: 7px; // 7 + 1 to compentiate for the -1 substraction in margin-bottom. + opacity: 0; transition: opacity 120ms; &.--error { opacity: 1; background-color: @errorBackground; - .__name, .__subname { + + .__name, + .__subname { color: @errorText; } } @@ -127,11 +136,11 @@ umb-media-card { color: @ui-action-type; margin-left: 16px; margin-bottom: -1px; - white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } + .__subname { color: @gray-4; font-size: 12px; @@ -146,6 +155,7 @@ umb-media-card { .__info { opacity: 1; } + .__info:not(.--error) { .__name { color: @ui-action-type-hover; @@ -162,25 +172,25 @@ umb-media-card { border-radius: 16px; padding-left: 5px; padding-right: 5px; - opacity: 0; transition: opacity 120ms; + .__action { position: relative; display: inline-block; padding: 5px; font-size: 18px; - color: @ui-action-discreet-type; + &:hover { color: @ui-action-discreet-type-hover; } } } + &:hover, &:focus, &:focus-within { .__actions { opacity: 1; } } - } diff --git a/src/Umbraco.Web.UI.Client/src/views/components/umb-progress-bar.html b/src/Umbraco.Web.UI.Client/src/views/components/umb-progress-bar.html index 719a53e361..46b06455c6 100644 --- a/src/Umbraco.Web.UI.Client/src/views/components/umb-progress-bar.html +++ b/src/Umbraco.Web.UI.Client/src/views/components/umb-progress-bar.html @@ -1,3 +1,3 @@ - + diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.controller.js b/src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.controller.js similarity index 57% rename from src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.controller.js rename to src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.controller.js index 29a3b876ea..f3a2f7dd8b 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.controller.js @@ -1,4 +1,4 @@ -angular.module("umbraco").controller("Umbraco.PrevalueEditors.MarkdownEditorController", +angular.module("umbraco").controller("Umbraco.PrevalueEditors.OverlaySizeController", function ($scope) { if (!$scope.model.value) { $scope.model.value = "small"; diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.html b/src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.html similarity index 66% rename from src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.html rename to src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.html index 8564a9f490..413ef3b1d2 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.prevalues.html +++ b/src/Umbraco.Web.UI.Client/src/views/prevalueeditors/overlaysize.html @@ -1,4 +1,4 @@ -
+
-
\ No newline at end of file +
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.controller.js index d398c943c4..1c76ba64f4 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/markdowneditor/markdowneditor.controller.js @@ -28,17 +28,19 @@ function MarkdownEditorController($scope, $element, assetsService, editorService } function openLinkPicker(callback) { - var linkPicker = { + + const linkPicker = { hideTarget: true, - size: $scope.model.config.overlayWidthSize, - submit: function(model) { + size: $scope.model.config.overlaySize, + submit: model => { callback(model.target.url, model.target.name); editorService.close(); }, - close: function() { + close: () => { editorService.close(); } }; + editorService.linkPicker(linkPicker); } diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker3/umb-media-picker3-property-editor.less b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker3/umb-media-picker3-property-editor.less index d02c0b055c..bb62307bd7 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker3/umb-media-picker3-property-editor.less +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/mediapicker3/umb-media-picker3-property-editor.less @@ -1,10 +1,10 @@ .umb-mediapicker3 { - + .umb-property-editor--limit-width(); + .umb-media-card-grid { padding: 20px; border: 1px solid @inputBorder; box-sizing: border-box; - .umb-property-editor--limit-width(); &.--singleMode { max-width: 202px; diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.controller.js index fc8fa8b809..962fd46549 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.controller.js @@ -29,12 +29,12 @@ function multiUrlPickerController($scope, localizationService, entityResource, i } }; - $scope.model.value.forEach(function (link) { + $scope.model.value.forEach(link => { link.icon = iconHelper.convertFromLegacyIcon(link.icon); $scope.renderModel.push(link); }); - $scope.$on("formSubmitting", function () { + $scope.$on("formSubmitting", () => { $scope.model.value = $scope.renderModel; }); @@ -78,13 +78,13 @@ function multiUrlPickerController($scope, localizationService, entityResource, i target: link.target } : null; - var linkPicker = { + const linkPicker = { currentTarget: target, dataTypeKey: $scope.model.dataTypeKey, ignoreUserStartNodes : ($scope.model.config && $scope.model.config.ignoreUserStartNodes) ? $scope.model.config.ignoreUserStartNodes : "0", hideAnchor: $scope.model.config && $scope.model.config.hideAnchor ? true : false, - size: $scope.model.config.overlayWidthSize, - submit: function (model) { + size: $scope.model.config.overlaySize, + submit: model => { if (model.target.url || model.target.anchor) { // if an anchor exists, check that it is appropriately prefixed if (model.target.anchor && model.target.anchor[0] !== '?' && model.target.anchor[0] !== '#') { @@ -108,12 +108,14 @@ function multiUrlPickerController($scope, localizationService, entityResource, i } if (link.udi) { - var entityType = model.target.isMedia ? "Media" : "Document"; + const entityType = model.target.isMedia ? "Media" : "Document"; + + entityResource.getById(link.udi, entityType).then(data => { - entityResource.getById(link.udi, entityType).then(function (data) { link.icon = iconHelper.convertFromLegacyIcon(data.icon); link.published = (data.metaData && data.metaData.IsPublished === false && entityType === "Document") ? false : true; link.trashed = data.trashed; + if (link.trashed) { item.url = vm.labels.general_recycleBin; } @@ -127,10 +129,11 @@ function multiUrlPickerController($scope, localizationService, entityResource, i } editorService.close(); }, - close: function () { + close: () => { editorService.close(); } }; + editorService.linkPicker(linkPicker); }; @@ -141,8 +144,9 @@ function multiUrlPickerController($scope, localizationService, entityResource, i } function init() { + localizationService.localizeMany(["general_recycleBin"]) - .then(function (data) { + .then(data => { vm.labels.general_recycleBin = data[0]; }); @@ -152,11 +156,11 @@ function multiUrlPickerController($scope, localizationService, entityResource, i $scope.model.config.minNumber = 1; } - _.each($scope.model.value, function (item){ + _.each($scope.model.value, function (item) { // we must reload the "document" link URLs to match the current editor culture if (item.udi && item.udi.indexOf("/document/") > 0) { item.url = null; - entityResource.getUrlByUdi(item.udi).then(function (data) { + entityResource.getUrlByUdi(item.udi).then(data => { item.url = data; }); } diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.controller.js deleted file mode 100644 index 3a1e6368e9..0000000000 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.controller.js +++ /dev/null @@ -1,6 +0,0 @@ -angular.module("umbraco").controller("Umbraco.PrevalueEditors.MultiUrlPickerController", - function ($scope) { - if (!$scope.model.value) { - $scope.model.value = "small"; - } - }); diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.html deleted file mode 100644 index 7abb3c3c01..0000000000 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/multiurlpicker/multiurlpicker.prevalues.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
- -
-
\ No newline at end of file diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js index 24eaba9886..47d1f401c7 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.controller.js @@ -23,10 +23,6 @@ angular.module("umbraco").controller("Umbraco.PrevalueEditors.RteController", $scope.model.value.mode = "classic"; } - if(!$scope.model.value.overlayWidthSize) { - $scope.model.value.overlayWidthSize = "small"; - } - tinyMceService.configuration().then(function(config){ $scope.tinyMceConfig = config; diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.html index 68fb2dbf5f..96de0cd040 100644 --- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.html +++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.prevalues.html @@ -46,14 +46,4 @@
- -
- -
-
-