var featureMatch;\r
while ( ( featureMatch = popupFeaturesRegex.exec( onclickMatch[2] ) ) )\r
{\r
- if ( featureMatch[2] == 'yes' || featureMatch[2] == '1' )\r
+ // Some values should remain numbers (#7300)\r
+ if ( ( featureMatch[2] == 'yes' || featureMatch[2] == '1' ) && !( featureMatch[1] in { height:1, width:1, top:1, left:1 } ) )\r
retval.target[ featureMatch[1] ] = true;\r
else if ( isFinite( featureMatch[2] ) )\r
retval.target[ featureMatch[1] ] = featureMatch[2];\r
advAttr( 'advCSSClasses', 'class' );\r
advAttr( 'advCharset', 'charset' );\r
advAttr( 'advStyles', 'style' );\r
+ advAttr( 'advRel', 'rel' );\r
}\r
\r
// Find out whether we have any anchors in the editor.\r
},\r
{\r
type : 'hbox',\r
+ widths : [ '45%', '55%' ],\r
children :\r
[\r
{\r
type : 'text',\r
+ label : linkLang.rel,\r
+ 'default' : '',\r
+ id : 'advRel',\r
+ setup : setupAdvParams,\r
+ commit : commitAdvParams\r
+ },\r
+ {\r
+ type : 'text',\r
label : linkLang.styles,\r
'default' : '',\r
id : 'advStyles',\r
setup : setupAdvParams,\r
commit : commitAdvParams\r
-\r
}\r
]\r
}\r
advAttr( 'advCSSClasses', 'class' );\r
advAttr( 'advCharset', 'charset' );\r
advAttr( 'advStyles', 'style' );\r
+ advAttr( 'advRel', 'rel' );\r
}\r
\r
\r
\r
// IE BUG: Setting the name attribute to an existing link doesn't work.\r
// Must re-create the link from weired syntax to workaround.\r
- if ( CKEDITOR.env.ie && attributes.name != element.getAttribute( 'name' ) )\r
+ if ( CKEDITOR.env.ie && !( CKEDITOR.document.$.documentMode >= 8 ) && attributes.name != element.getAttribute( 'name' ) )\r
{\r
var newElement = new CKEDITOR.dom.element( '<a name="' + CKEDITOR.tools.htmlEncode( attributes.name ) + '">',\r
editor.document );\r