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.6.3
[ckeditor.git]
/
_source
/
plugins
/
dialogadvtab
/
plugin.js
diff --git
a/_source/plugins/dialogadvtab/plugin.js
b/_source/plugins/dialogadvtab/plugin.js
index
1748692
..
d369be7
100644
(file)
--- a/
_source/plugins/dialogadvtab/plugin.js
+++ b/
_source/plugins/dialogadvtab/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2012, 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
@@
-132,9
+132,12
@@
CKEDITOR.plugins.add( 'dialogadvtab',
label : lang.styles,
\r
'default' : '',
\r
\r
label : lang.styles,
\r
'default' : '',
\r
\r
+ validate : CKEDITOR.dialog.validate.inlineStyle( lang.invalidInlineStyle ),
\r
+ onChange : function(){},
\r
+
\r
getStyle : function( name, defaultValue )
\r
{
\r
getStyle : function( name, defaultValue )
\r
{
\r
- var match = this.getValue().match( new RegExp( name + '\\s*:\s*([^;]*)', 'i') );
\r
+ var match = this.getValue().match( new RegExp( name + '\\s*:\\s*([^;]*)', 'i') );
\r
return match ? match[ 1 ] : defaultValue;
\r
},
\r
\r
return match ? match[ 1 ] : defaultValue;
\r
},
\r
\r