Ticket #16239: editor_plugin.dev.js.patch
File editor_plugin.dev.js.patch, 695 bytes (added by , 13 years ago) |
---|
-
wp-includes/js/tinymce/plugins/wordpress/editor_plugin.dev.js
386 386 o.content = o.content.replace(/<img[^>]+>/g, function(im) { 387 387 if (im.indexOf('class="mceWPmore') !== -1) { 388 388 var m, moretext = (m = im.match(/alt="(.*?)"/)) ? m[1] : ''; 389 im = ' <!--more'+moretext+'-->';389 im = '\n</p><!--more'+moretext+'--></p>\n'; 390 390 } 391 391 if (im.indexOf('class="mceWPnextpage') !== -1) 392 392 im = '<!--nextpage-->';