Changeset 6736
- Timestamp:
- 04/20/11 19:42:35 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/features/bbcode/_source/plugins/bbcode/plugin.js
r6735 r6736 691 691 'blockquote' : function( element ) 692 692 { 693 var quoted = new CKEDITOR.htmlParser.element( 'div' ); 694 quoted.children = element.children; 695 element.children = [ quoted ]; 693 696 var citeText = element.attributes.cite; 694 697 if ( citeText ) 695 698 { 696 var quoted = new CKEDITOR.htmlParser.element( 'div' ), 697 cite = new CKEDITOR.htmlParser.element( 'cite' ); 699 var cite = new CKEDITOR.htmlParser.element( 'cite' ); 698 700 cite.add( new CKEDITOR.htmlParser.text( citeText.replace( /^"|"$/g, '' ) ) ) 699 quoted.children = element.children;700 element.children = [ cite, quoted ];701 701 delete element.attributes.cite; 702 element.children.unshift( cite ); 702 703 } 703 704 },
Note: See TracChangeset
for help on using the changeset viewer.
