Backoffice JS dependency updates (#14179)
* updates @babel/* to 7.21.4 * update @microsoft/signalr to 7.0.5 * update @umbraco-ui/uui to 1.2.1 * update ace editor to 1.18.0 * update all build dependencies to latest version * update jquery to 3.6.4 * update spectrum-colorpicker2 to 2.0.10 * Add icon for "styles" alias (style select) * update tinymce to 6.4.2 Read more here: https://www.tiny.cloud/docs/tinymce/6/6.4.1-release-notes/
This commit is contained in:
4426
src/Umbraco.Web.UI.Client/package-lock.json
generated
4426
src/Umbraco.Web.UI.Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -18,10 +18,10 @@
|
||||
"npm": ">=8.15"
|
||||
},
|
||||
"dependencies": {
|
||||
"@microsoft/signalr": "7.0.2",
|
||||
"@umbraco-ui/uui": "1.1.0",
|
||||
"@umbraco-ui/uui-css": "1.1.0",
|
||||
"ace-builds": "1.15.0",
|
||||
"@microsoft/signalr": "7.0.5",
|
||||
"@umbraco-ui/uui": "1.2.1",
|
||||
"@umbraco-ui/uui-css": "1.2.1",
|
||||
"ace-builds": "1.18.0",
|
||||
"angular": "1.8.3",
|
||||
"angular-animate": "1.8.3",
|
||||
"angular-aria": "1.8.3",
|
||||
@@ -43,32 +43,32 @@
|
||||
"diff": "5.1.0",
|
||||
"flatpickr": "4.6.13",
|
||||
"font-awesome": "4.7.0",
|
||||
"jquery": "3.6.3",
|
||||
"jquery": "3.6.4",
|
||||
"jquery-ui-dist": "1.13.2",
|
||||
"jquery-ui-touch-punch": "0.2.3",
|
||||
"lazyload-js": "1.0.0",
|
||||
"moment": "2.29.4",
|
||||
"ng-file-upload": "12.2.13",
|
||||
"nouislider": "15.7.0",
|
||||
"spectrum-colorpicker2": "2.0.9",
|
||||
"tinymce": "6.3.1",
|
||||
"spectrum-colorpicker2": "2.0.10",
|
||||
"tinymce": "6.4.2",
|
||||
"typeahead.js": "0.11.1",
|
||||
"underscore": "1.13.6",
|
||||
"wicg-inert": "3.1.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "7.20.12",
|
||||
"@babel/preset-env": "7.20.2",
|
||||
"autoprefixer": "10.4.13",
|
||||
"cssnano": "5.1.14",
|
||||
"eslint": "8.33.0",
|
||||
"@babel/core": "7.21.4",
|
||||
"@babel/preset-env": "7.21.4",
|
||||
"autoprefixer": "10.4.14",
|
||||
"cssnano": "6.0.0",
|
||||
"eslint": "8.39.0",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-angular-embed-templates": "2.3.0",
|
||||
"gulp-babel": "8.0.0",
|
||||
"gulp-clean-css": "4.3.0",
|
||||
"gulp-cli": "2.3.0",
|
||||
"gulp-concat": "2.6.1",
|
||||
"gulp-eslint-new": "1.7.1",
|
||||
"gulp-eslint-new": "1.7.2",
|
||||
"gulp-imagemin": "7.1.0",
|
||||
"gulp-less": "5.0.0",
|
||||
"gulp-minify": "3.1.0",
|
||||
@@ -80,9 +80,9 @@
|
||||
"gulp-watch": "5.0.1",
|
||||
"gulp-wrap": "0.15.0",
|
||||
"gulp-wrap-js": "0.4.1",
|
||||
"jasmine-core": "4.5.0",
|
||||
"jsdom": "21.1.0",
|
||||
"karma": "6.4.1",
|
||||
"jasmine-core": "4.6.0",
|
||||
"jsdom": "21.1.1",
|
||||
"karma": "6.4.2",
|
||||
"karma-jasmine": "5.1.0",
|
||||
"karma-jsdom-launcher": "14.0.0",
|
||||
"karma-junit-reporter": "2.0.1",
|
||||
@@ -90,7 +90,7 @@
|
||||
"less": "4.1.3",
|
||||
"lodash": "4.17.21",
|
||||
"merge-stream": "2.0.0",
|
||||
"postcss": "8.4.21",
|
||||
"postcss": "8.4.23",
|
||||
"run-sequence": "2.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,15 +47,15 @@ angular.module("umbraco").controller("Umbraco.PrevalueEditors.RteController",
|
||||
|
||||
stylesheetResource.getAll().then(function(stylesheets){
|
||||
$scope.stylesheets = stylesheets;
|
||||
|
||||
|
||||
// if the CSS directory changes, previously assigned stylesheets are retained, but will not be visible
|
||||
// and will throw a 404 when loading the RTE. Remove them here. Still needs to be saved...
|
||||
let cssPath = Umbraco.Sys.ServerVariables.umbracoSettings.cssPath;
|
||||
$scope.model.value.stylesheets = $scope.model.value.stylesheets
|
||||
.filter(sheet => sheet.startsWith(cssPath));
|
||||
|
||||
|
||||
$scope.stylesheets.forEach(stylesheet => {
|
||||
// support both current format (full stylesheet path) and legacy format (stylesheet name only)
|
||||
// support both current format (full stylesheet path) and legacy format (stylesheet name only)
|
||||
stylesheet.selected = $scope.model.value.stylesheets.indexOf(stylesheet.path) >= 0 ||$scope.model.value.stylesheets.indexOf(stylesheet.name) >= 0;
|
||||
});
|
||||
});
|
||||
@@ -96,6 +96,7 @@ angular.module("umbraco").controller("Umbraco.PrevalueEditors.RteController",
|
||||
icon.isCustom = false;
|
||||
break;
|
||||
case "styleselect":
|
||||
case "styles":
|
||||
case "fontsizeselect":
|
||||
icon.name = "icon-list";
|
||||
icon.isCustom = true;
|
||||
|
||||
Reference in New Issue
Block a user