Changeset 6182
- Timestamp:
- 12/07/10 13:44:22 (2 years ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/elementspath/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r6181 r6182 68 68 <li><a href="http://dev.ckeditor.com/ticket/6150">#6150</a> : [Safari] Color dialog was broken.</li> 69 69 <li><a href="http://dev.ckeditor.com/ticket/6747">#6747</a> : Full screen layout issue caused by page element focus outside editor.</li> 70 <li><a href="http://dev.ckeditor.com/ticket/6779">#6779</a> : Click on "body" on elements blink the selection off.</li> 70 71 <li>Updated the following language files:<ul> 71 72 <li><a href="http://dev.ckeditor.com/ticket/6756">#6756</a> : Hungarian;</li> -
CKEditor/trunk/_source/plugins/elementspath/plugin.js
r5681 r6182 156 156 157 157 var element = editor._.elementsPath.list[ elementIndex ]; 158 editor.getSelection().selectElement( element ); 158 159 if ( element.is( 'body' ) ) 160 { 161 var range = new CKEDITOR.dom.range( editor.document ); 162 range.selectNodeContents( element ); 163 range.select(); 164 } 165 else 166 editor.getSelection().selectElement( element ); 159 167 160 168 return false;
Note: See TracChangeset
for help on using the changeset viewer.
