Changeset 28615
- Timestamp:
- 05/29/2014 07:55:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
r28614 r28615 946 946 // Remove toolbar from undo levels 947 947 editor.on( 'BeforeAddUndo', function( event ) { 948 event.level.content = event.level.content.replace( /<p [^>]*data-mce-bogus[^>]+>[\s\S]* <\/p>/g, '' );948 event.level.content = event.level.content.replace( /<p [^>]*data-mce-bogus[^>]+>[\s\S]*?<\/p>/g, '' ); 949 949 }); 950 950
Note: See TracChangeset
for help on using the changeset viewer.