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.1
[ckeditor.git]
/
_source
/
plugins
/
styles
/
plugin.js
diff --git
a/_source/plugins/styles/plugin.js
b/_source/plugins/styles/plugin.js
index
2e82127
..
278f532
100644
(file)
--- a/
_source/plugins/styles/plugin.js
+++ b/
_source/plugins/styles/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-198,8
+198,8
@@
CKEDITOR.STYLE_OBJECT = 3;
if ( attName == '_length' )
\r
continue;
\r
\r
if ( attName == '_length' )
\r
continue;
\r
\r
- var elementAttr = element.getAttribute( attName );
\r
- if ( attribs[attName] ==
\r
+ var elementAttr = element.getAttribute( attName ) || '';
\r
+ if ( attribs[ attName ] ==
\r
( attName == 'style' ?
\r
normalizeCssText( elementAttr, false ) : elementAttr ) )
\r
{
\r
( attName == 'style' ?
\r
normalizeCssText( elementAttr, false ) : elementAttr ) )
\r
{
\r