Skip to content
#

mentions

Here are 67 public repositories matching this topic...

gauravsoti1
gauravsoti1 commented Apr 29, 2020

Use-case/Problem

Feature

Currently macros are visible like this inside the text key of block in my content state: @gauravsobti
I want it to show like @{{mention.employee.2342.name}} according to the data present in my entity map, so that when the user name changes, I can go ahead and change this. How do I go about and do this?

tribute
paulosaure
paulosaure commented Feb 11, 2020

Hello,

removeEntireMention= true parameters allow to remove entire mention with backspace.

removeEntireMention= false parameter allows to highlight mention on the first backspace then unhighlight mention and only keeping text.

Is possible to highlight mention on the first backspace then remove entire mention with a second backspace ?

Thanks for helping

hainhathoang88
hainhathoang88 commented Nov 29, 2019

Describe the bug
The start location of the mention will be incorrect if we go back and add additional text before the Mention.

To Reproduce
Steps to reproduce the behavior:

  1. Add the first mention. mentionsIndexes has start location 0
  2. Move the cursor to before the text, input "ABC"

Expected behavior
mentionsIndexes should have startLocation 3

Actual behavior
ment

Improve this page

Add a description, image, and links to the mentions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mentions topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.