Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.3
[ckeditor.git]
/
_source
/
plugins
/
colorbutton
/
plugin.js
diff --git
a/_source/plugins/colorbutton/plugin.js
b/_source/plugins/colorbutton/plugin.js
index
16ad1f2
..
77c002a
100644
(file)
--- a/
_source/plugins/colorbutton/plugin.js
+++ b/
_source/plugins/colorbutton/plugin.js
@@
-66,7
+66,7
@@
CKEDITOR.plugins.add( 'colorbutton',
color;
\r
\r
// Find the closest block element.
\r
color;
\r
\r
// Find the closest block element.
\r
- block = path.block || path.blockLimit;
\r
+ block = path.block || path.blockLimit || editor.document.getBody();
\r
\r
// The background color might be transparent. In that case, look up the color in the DOM tree.
\r
do
\r
\r
// The background color might be transparent. In that case, look up the color in the DOM tree.
\r
do
\r