[buddypress-trac] [BuddyPress Trac] #6487: Mentions.js fails on wp-admin post editor

buddypress-trac noreply at wordpress.org
Tue Aug 18 22:49:31 UTC 2015

#6487: Mentions.js fails on wp-admin post editor
 Reporter:  dcavins               |       Owner:  djpaul
     Type:  defect (bug)          |      Status:  closed
 Priority:  normal                |   Milestone:  2.3.3
Component:  Component - Activity  |     Version:  2.3.1
 Severity:  normal                |  Resolution:  fixed
 Keywords:  dev-feedback          |
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"10053"]:
 #!CommitTicketReference repository="" revision="10053"
 Activity: fix @mentions in wp-admin post editor.

 If the screen loads with the text editor visible, `bp_mentions` is
 attached to the text editor as expected, but `loadMentionsInTinyMCE` uses
 up its tries and gives up trying to attach the iframe, so when you switch
 to the visual editor, `bp_mentions` didn't work.

 This change removes the looped `loadMentionsInTinyMCE` approach and
 instead hooks into TinyMCE configuration to specify an init callback,
 where we then load `bp_mentions`.

 Fixes #6487 (branch). Props dcavins, imath, DJPaul.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6487#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list