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
/
link
/
dialogs
/
anchor.js
diff --git
a/_source/plugins/link/dialogs/anchor.js
b/_source/plugins/link/dialogs/anchor.js
index
c02d556
..
3748e36
100644
(file)
--- a/
_source/plugins/link/dialogs/anchor.js
+++ b/
_source/plugins/link/dialogs/anchor.js
@@
-26,7
+26,7
@@
CKEDITOR.dialog.add( 'anchor', function( editor )
{
\r
// Always create a new anchor, because of IE BUG.
\r
var name = this.getValueOf( 'info', 'txtName' ),
\r
{
\r
// Always create a new anchor, because of IE BUG.
\r
var name = this.getValueOf( 'info', 'txtName' ),
\r
- element = CKEDITOR.env.ie ?
\r
+ element = CKEDITOR.env.ie && !( CKEDITOR.document.$.documentMode >= 8 ) ?
\r
editor.document.createElement( '<a name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :
\r
editor.document.createElement( 'a' );
\r
\r
editor.document.createElement( '<a name="' + CKEDITOR.tools.htmlEncode( name ) + '">' ) :
\r
editor.document.createElement( 'a' );
\r
\r