Skip to:
Content

BuddyPress.org

Changeset 11912


Ignore:
Timestamp:
03/29/2018 11:55:15 AM (7 years ago)
Author:
djpaul
Message:

Activity: fix mentions.js config for library updates in r11795

Fix </>@matraca</> showing up in text fields after a mention is added.

This used to be required for TinyMCE support, but apparently a change in the upstream library takes care of this.

Fixes #7724

Props mercime, djpaul

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/js/mentions.js

    r11878 r11912  
    3131            delay:             200,
    3232            hideWithoutSuffix: true,
    33             insertTpl:         '</>@${ID}</>', // For contentEditable, the fake tags make jQuery insert a textNode.
     33            insertTpl:         '@${ID}',
    3434            limit:             10,
    3535            startWithSpace:    false,
Note: See TracChangeset for help on using the changeset viewer.