[wp-trac] [WordPress Trac] #43862: TinyMCE: Update to 4.7.11

WordPress Trac noreply at wordpress.org
Wed Jun 6 14:31:57 UTC 2018


#43862: TinyMCE: Update to 4.7.11
----------------------------+----------------------
 Reporter:  iseulde         |       Owner:  iseulde
     Type:  task (blessed)  |      Status:  closed
 Priority:  normal          |   Milestone:  4.9.6
Component:  TinyMCE         |     Version:  trunk
 Severity:  normal          |  Resolution:  fixed
 Keywords:  needs-testing   |     Focuses:
----------------------------+----------------------

Comment (by dougwollison):

 While it's possible that I've been using it wrong, I just now stumped
 across an arguably breaking change caused by TinyMCE 4.7.

 It seems that the SetupEditor event, which originally passed the editor
 instance directly as the single callback argument, no passes an event
 object containing it. It's a simply matter to fix (`var editor = e.editor
 || e;`), but I can't be the only one who's code hooks into TinyMCE via
 SetupEditor. I admit I haven't thoroughly read TinyMCE's changelog, but a
 cursory glance makes no mention of this change to the API, which is
 perplexing.

 As for why it took me 3 weeks to notice... I got nuthin; I was pre-
 occupied with other projects, and apparently none of my clients or plugin
 users have encountered it until today.

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


More information about the wp-trac mailing list