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.5
[ckeditor.git]
/
_source
/
plugins
/
fakeobjects
/
plugin.js
diff --git
a/_source/plugins/fakeobjects/plugin.js
b/_source/plugins/fakeobjects/plugin.js
index
d4ebce5
..
5da98a1
100644
(file)
--- a/
_source/plugins/fakeobjects/plugin.js
+++ b/
_source/plugins/fakeobjects/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
@@
-82,7
+82,6
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
var attributes =
\r
{
\r
'class' : className,
\r
var attributes =
\r
{
\r
'class' : className,
\r
- src : CKEDITOR.getUrl( 'images/spacer.gif' ),
\r
'data-cke-realelement' : encodeURIComponent( realElement.getOuterHtml() ),
\r
'data-cke-real-node-type' : realElement.type,
\r
alt : label,
\r
'data-cke-realelement' : encodeURIComponent( realElement.getOuterHtml() ),
\r
'data-cke-real-node-type' : realElement.type,
\r
alt : label,
\r
@@
-90,6
+89,10
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
align : realElement.getAttribute( 'align' ) || ''
\r
};
\r
\r
align : realElement.getAttribute( 'align' ) || ''
\r
};
\r
\r
+ // Do not set "src" on high-contrast so the alt text is displayed. (#8945)
\r
+ if ( !CKEDITOR.env.hc )
\r
+ attributes.src = CKEDITOR.getUrl( 'images/spacer.gif' );
\r
+
\r
if ( realElementType )
\r
attributes[ 'data-cke-real-element-type' ] = realElementType;
\r
\r
if ( realElementType )
\r
attributes[ 'data-cke-real-element-type' ] = realElementType;
\r
\r
@@
-123,7
+126,6
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
var attributes =
\r
{
\r
'class' : className,
\r
var attributes =
\r
{
\r
'class' : className,
\r
- src : CKEDITOR.getUrl( 'images/spacer.gif' ),
\r
'data-cke-realelement' : encodeURIComponent( html ),
\r
'data-cke-real-node-type' : realElement.type,
\r
alt : label,
\r
'data-cke-realelement' : encodeURIComponent( html ),
\r
'data-cke-real-node-type' : realElement.type,
\r
alt : label,
\r
@@
-131,6
+133,10
@@
For licensing, see LICENSE.html or http://ckeditor.com/license
align : realElement.attributes.align || ''
\r
};
\r
\r
align : realElement.attributes.align || ''
\r
};
\r
\r
+ // Do not set "src" on high-contrast so the alt text is displayed. (#8945)
\r
+ if ( !CKEDITOR.env.hc )
\r
+ attributes.src = CKEDITOR.getUrl( 'images/spacer.gif' );
\r
+
\r
if ( realElementType )
\r
attributes[ 'data-cke-real-element-type' ] = realElementType;
\r
\r
if ( realElementType )
\r
attributes[ 'data-cke-real-element-type' ] = realElementType;
\r
\r