Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ec007de
)
fix ckeditor outer width dedup accross pages
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 2 Jan 2016 05:15:23 +0000
(
00:15
-0500)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 2 Jan 2016 05:15:23 +0000
(
00:15
-0500)
style.styl
patch
|
blob
|
history
diff --git
a/style.styl
b/style.styl
index
9e99de0
..
b4754d4
100644
(file)
--- a/
style.styl
+++ b/
style.styl
@@
-211,9
+211,10
@@
body
ckeditor_elements_already = {}
ckeditor(basename, element_name, body_id, width)
// ckeditor ui, including border around wysiwyg area
ckeditor_elements_already = {}
ckeditor(basename, element_name, body_id, width)
// ckeditor ui, including border around wysiwyg area
- unless element_name in ckeditor_elements_already
- ckeditor_elements_already[element_name] = 1
- #{basename}_body #cke_{element_name}
+ outer_selector = '#' + basename + '_body #cke_' + element_name
+ unless outer_selector in ckeditor_elements_already
+ ckeditor_elements_already[outer_selector] = 1
+ {outer_selector}
width: biggest_content_width + 30px
margin-right: -30px
// body tag of the wysiwyg area
width: biggest_content_width + 30px
margin-right: -30px
// body tag of the wysiwyg area