Commit 4c6345a6 authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

Update unl plugin to use 5.0 css in WYSIWYG

parent f3c4c91f
......@@ -43,9 +43,10 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) {
//'div[style]/[*]';
ed.onBeforeSetContent.add(function(ed, o) {
ed.dom.loadCSS("/wdn/templates_4.1/css/all.css");
ed.getBody().className += ' wdn-main';
ed.getBody().id = 'maincontent';
ed.dom.loadCSS("/wdn/templates_5.0/css/core.css");
ed.dom.loadCSS("/wdn/templates_5.0/css/deprecated.css");
ed.getBody().className += ' dcf-wrapper dcf-main dcf-main-content';
ed.getBody().id = 'dcf-main';
ed.getBody().style.background = '#fefdfa';
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment