WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26628, comment 6


Ignore:
Timestamp:
01/14/2014 10:08:33 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26628, comment 6

    initial v1  
    33Looking at the TinyMCE plugin, the regexps can be simplified a bit and the name should start with `wp` like the other custom WordPress plugins (will change that on commit).
    44
    5 Also it triggered a bug with `send_to_editor()`: we preemptively replace the shortcodes with the html there which is not needed any more. The bug is that the regex can still find the shortcode string inside the title attr. and process it on `editor.on( 'BeforeSetContent', ... )`, so it ends up quite broken. Will fix that first.
     5Also it triggered a bug with `send_to_editor()`: we preemptively replace the shortcodes with the html there which is not needed any more. The bug is that the regex can still find the shortcode string inside the title attr. and replace it again on `editor.on( 'BeforeSetContent', ... )`, so it ends up quite broken. Will fix that first.