Changeset 281
- Timestamp:
- 2007-05-04 17:06:18 (3 years ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/dialog/fck_image/fck_image.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/dialog/fck_image/fck_image.js
r132 r281 169 169 if ( oEditor.FCKBrowserInfo.IsIE ) 170 170 { 171 GetE('txtAttClasses').value = oImage. getAttribute('className')|| '' ;171 GetE('txtAttClasses').value = oImage.className || '' ; 172 172 GetE('txtAttStyle').value = oImage.style.cssText ; 173 173 } … … 285 285 SetAttribute( e, 'lang' , GetE('txtAttLangCode').value ) ; 286 286 SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ; 287 SetAttribute( e, 'class' , GetE('txtAttClasses').value ) ;288 287 SetAttribute( e, 'longDesc' , GetE('txtLongDesc').value ) ; 289 288 290 289 if ( oEditor.FCKBrowserInfo.IsIE ) 290 { 291 e.className = GetE('txtAttClasses').value ; 291 292 e.style.cssText = GetE('txtAttStyle').value ; 292 else 293 } 294 else 295 { 296 SetAttribute( e, 'class' , GetE('txtAttClasses').value ) ; 293 297 SetAttribute( e, 'style', GetE('txtAttStyle').value ) ; 298 } 294 299 } 295 300 -
FCKeditor/trunk/_whatsnew.html
r270 r281 66 66 in a directory with spaces in the name.</li> 67 67 <li>Added option to SpellerPages to ignore "alt" attributes.</li> 68 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/451">#451</a>] Classes for 69 images in IE didn't take effect immediately.</li> 68 70 </ul> 69 71 <h3>