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.2.2
[ckeditor.git]
/
_source
/
plugins
/
button
/
plugin.js
diff --git
a/_source/plugins/button/plugin.js
b/_source/plugins/button/plugin.js
index
54016fb
..
a882a39
100644
(file)
--- a/
_source/plugins/button/plugin.js
+++ b/
_source/plugins/button/plugin.js
@@
-172,7
+172,7
@@
CKEDITOR.ui.button.prototype =
}
\r
\r
output.push(
\r
}
\r
\r
output.push(
\r
- '></span>' +
\r
+ '> </span>' +
\r
'<span id="', id, '_label" class="cke_label">', this.label, '</span>' );
\r
\r
if ( this.hasArrow )
\r
'<span id="', id, '_label" class="cke_label">', this.label, '</span>' );
\r
\r
if ( this.hasArrow )
\r
@@
-180,7
+180,7
@@
CKEDITOR.ui.button.prototype =
output.push(
\r
'<span class="cke_buttonarrow">'
\r
// BLACK DOWN-POINTING TRIANGLE
\r
output.push(
\r
'<span class="cke_buttonarrow">'
\r
// BLACK DOWN-POINTING TRIANGLE
\r
- + ( CKEDITOR.env.hc ? '▼' : '' )
\r
+ + ( CKEDITOR.env.hc ? '▼' : ' ' )
\r
+ '</span>' );
\r
}
\r
\r
+ '</span>' );
\r
}
\r
\r
@@
-270,3
+270,8
@@
CKEDITOR.ui.prototype.addButton = function( name, definition )
{
\r
this.add( name, CKEDITOR.UI_BUTTON, definition );
\r
};
\r
{
\r
this.add( name, CKEDITOR.UI_BUTTON, definition );
\r
};
\r
+
\r
+CKEDITOR.on( 'reset', function()
\r
+ {
\r
+ CKEDITOR.ui.button._.instances = [];
\r
+ });
\r