Ask Your Question
2

Is it possible to replace the "at" symbol with the "hashtag" symbol in the TinyMCE 6 Mention Plugin?

asked 2021-09-30 11:00:00 +0000

scrum gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-03-08 22:00:00 +0000

nofretete gravatar image

Yes, it is possible to replace the "at" symbol with the "hashtag" symbol in the TinyMCE 6 Mention Plugin. To do this, you will need to modify the plugin's code.

First, find the line in the code that defines the "at" symbol, which should be something like:

var prefix = '@';

Replace the "@" symbol with "#" to define the "hashtag" symbol:

var prefix = '#';

Next, find any occurrences of the "@" symbol in the code and replace them with the "#" symbol.

Save the modified plugin code and reload your page to see the changes take effect.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-30 11:00:00 +0000

Seen: 13 times

Last updated: Mar 08 '23