[buddypress-trac] [BuddyPress Trac] #6487: Mentions.js fails on wp-admin post editor
buddypress-trac
noreply at wordpress.org
Tue Aug 18 22:54:47 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 |
----------------------------------+---------------------
Comment (by djpaul):
In [changeset:"10054"]:
{{{
#!CommitTicketReference repository="" revision="10054"
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, ` doesn'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 (trunk). Props dcavins, imath, DJPaul.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6487#comment:17>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list