Merge pull request #6438 from umbraco/v8/bugfix/macro-still-selectable
Fixes selecting Macro Content in RTE to be non editable once node is saved
This commit is contained in:
@@ -803,6 +803,11 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
|
||||
//show the throbber
|
||||
$macroDiv.addClass("loading");
|
||||
|
||||
// Add the contenteditable="false" attribute
|
||||
// As just the CSS class of .mceNonEditable is not working by itself?!
|
||||
// TODO: At later date - use TinyMCE editor DOM manipulation as opposed to jQuery
|
||||
$macroDiv.attr("contenteditable", "false");
|
||||
|
||||
var contentId = $routeParams.id;
|
||||
|
||||
//need to wrap in safe apply since this might be occuring outside of angular
|
||||
|
||||
Reference in New Issue
Block a user