Skip to content

Commit 5047c7b

Browse files
author
perploug
committed
Fixes: U4-4155 Backend CSS Rich Text Editor Path Issue
1 parent 0c45fb1 commit 5047c7b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Umbraco.Web.UI.Client/src/views/propertyeditors/rte/rte.controller.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ angular.module("umbraco")
3434

3535
//queue rules loading
3636
angular.forEach(editorConfig.stylesheets, function(val, key){
37-
stylesheets.push("/css/" + val + ".css?" + new Date().getTime());
37+
stylesheets.push("../css/" + val + ".css?" + new Date().getTime());
3838

3939
await.push(stylesheetResource.getRulesByName(val).then(function(rules) {
4040
angular.forEach(rules, function(rule) {
@@ -58,8 +58,6 @@ angular.module("umbraco")
5858
});
5959

6060

61-
62-
6361
//stores a reference to the editor
6462
var tinyMceEditor = null;
6563

@@ -111,7 +109,7 @@ angular.module("umbraco")
111109
$scope.model.value = editor.getContent();
112110
});
113111
});
114-
112+
115113
editor.on('blur', function (e) {
116114
angularHelper.safeApply($scope, function () {
117115
$scope.model.value = editor.getContent();

0 commit comments

Comments
 (0)