Changeset 29004
- Timestamp:
- 07/05/2014 12:24:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/js/tinymce/plugins/wpview/plugin.js
r28994 r29004 149 149 return content.replace(/<div[^>]+data-wpview-text=\"([^"]+)"[^>]*>[\s\S]+?wpview-selection-after[^>]+>(?: |\u00a0)*<\/p><\/div>/g, '$1' ); 150 150 } 151 152 window.emptyViews = function() {153 return emptyViews( editor.getContent({format : 'raw'}) );154 };155 151 156 152 // Prevent adding undo levels on changes inside a view wrapper
Note: See TracChangeset
for help on using the changeset viewer.