Ticket #6046: 6046.patch
File 6046.patch, 1.2 KB (added by , 14 years ago) |
---|
-
_source/core/dom/node.js
666 666 { 667 667 if ( current.type == CKEDITOR.NODE_ELEMENT ) 668 668 { 669 if ( current.is ( 'body' ) )669 if ( current.is( 'body' ) || current.getCustomData( '_cke_lockedInput' ) ) 670 670 break; 671 671 672 672 if ( current.getAttribute( 'contentEditable' ) == 'false' ) -
_source/plugins/wysiwygarea/plugin.js
995 995 if ( element.type == CKEDITOR.NODE_ELEMENT 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_lockedInput', true ); 1004 } 999 1005 } 1000 1006 }); 1001 1007