Changes between Initial Version and Version 1 of Ticket #8784, comment 2
- Timestamp:
- Mar 5, 2012, 4:27:59 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8784, comment 2
initial v1 8 8 }); 9 9 }); 10 editor.on( ' fromHtml', function( ev )10 editor.on( 'toDataFormat', function( ev ) 11 11 { 12 12 ev.data = ev.data.replace( /<div\s+(?:[^>]+\s+)?class=\"youtube\"(?:\s+[^>]+)?>\s*([^<]+)\s*<\/div>/gi, function( match, url )