Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Digital Experience Group
TinyMCE
Commits
2b727858
Commit
2b727858
authored
Aug 28, 2014
by
Eric Rasmussen
Browse files
Update to use 4.0 css in WYSIWYG
parent
eb65b57f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/unl/editor_plugin.js
View file @
2b727858
...
...
@@ -43,11 +43,10 @@ Unl.hasParentNodeWithClass = function(childNode, parentClass) {
//'div[style]/[*]';
ed
.
onBeforeSetContent
.
add
(
function
(
ed
,
o
)
{
ed
.
dom
.
loadCSS
(
"
/wdn/templates_3.1/css/compressed/base.css
"
);
ed
.
dom
.
loadCSS
(
"
/wdn/templates_3.1/css/compressed/combined_widths.css
"
);
ed
.
getBody
().
className
+=
'
fixed
'
;
ed
.
dom
.
loadCSS
(
"
/wdn/templates_4.0/css/all.css
"
);
ed
.
getBody
().
className
+=
'
wdn-main
'
;
ed
.
getBody
().
id
=
'
maincontent
'
;
ed
.
getBody
().
style
.
background
=
'
#f
fffff
'
;
ed
.
getBody
().
style
.
background
=
'
#f
efdfa
'
;
});
/*ed.onPostProcess.add(function(ed, o) {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment