Changeset 5781
- Timestamp:
- 08/02/10 13:05:29 (3 years ago)
- Location:
- CKEditor/branches/versions/3.4.x/_source
- Files:
-
- 2 edited
-
core/dom/node.js (modified) (1 diff)
-
plugins/wysiwygarea/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/versions/3.4.x/_source/core/dom/node.js
r5709 r5781 667 667 if ( current.type == CKEDITOR.NODE_ELEMENT ) 668 668 { 669 if ( current.is ( 'body' ) )669 if ( current.is( 'body' ) || current.getCustomData( '_cke_notReadOnly' ) ) 670 670 break; 671 671 -
CKEditor/branches/versions/3.4.x/_source/plugins/wysiwygarea/plugin.js
r5773 r5781 996 996 && ( element.is( 'input' ) || element.is( 'textarea' ) ) ) 997 997 { 998 element.setAttribute( 'contentEditable', false ); 998 if ( !element.isReadOnly() ) 999 { 1000 element.setAttribute( 'contentEditable', false ); 1001 // We should flag that the element was locked by our code so 1002 // it'll be editable by the editor functions (#6046). 1003 element.setCustomData( '_cke_notReadOnly', 1 ); 1004 } 999 1005 } 1000 1006 });
Note: See TracChangeset
for help on using the changeset viewer.
