[wp-trac] [WordPress Trac] #55693: TinyMCE WordPress plugin contains unnecessary code

WordPress Trac noreply at wordpress.org
Mon Sep 19 19:25:13 UTC 2022


#55693: TinyMCE WordPress plugin contains unnecessary code
-------------------------------+----------------------
 Reporter:  MattyRob           |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  TinyMCE            |     Version:  4.9.7
 Severity:  normal             |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  6.1 =>


Comment:

 The code from [43336] only runs before the HTML is loaded in TinyMCE, both
 on page load and when switching Text->Visual mode. It prepares the HTML
 for loading/parsing.

 Unfortunately there is a bug in TinyMCE that would make paragraphs out of
 HTML comments (the same bug was fixed in autop earlier). That commit fixes
 it "just in time" and doesn't (shouldn't) affect anything else.

 Closing as wontfix as it prevents a bug from upstream. Please feel free to
 reopen if this is causing any problems.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55693#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list