Using Hashtag and Mention plugin causes browser hang
See original GitHub issueHello,
So I was trying to add an Editor with by using both plugins Mention and Hashtag:
const mentionPlugin = createMentionPlugin({
mentionPrefix: '@',
entityMutability: 'IMMUTABLE'
});
const hashtagPlugin = createHashtagPlugin();
const { MentionSuggestions } = mentionPlugin;
const plugins = [hashtagPlugin,mentionPlugin];
<Editor
editorState={ this.state.editorState }
onChange={this.onChange}
plugins={plugins}
ref="editor"
/>
<MentionSuggestions
onSearchChange={ this.onSearchChange }
suggestions={ this.state.suggestions }
/>
- Normal behavior if you don’t write hashtag at the beginning of line :
- Browser will hang if you try to write hashtag at the beginning of line/text
I also has same issues with #168 as well.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Query monitor causing Chrome to freeze on tab close
Basically with Query Monitor activated, closing my sites tabs on Chrome has a massive delay and causes the browser to freeze temporarily.
Read more >Instagram Feed WordPress Plugin Change Log - Smash Balloon
* Fix: Fixed a bug that cause an inability to connect multiple new sources under certain circumstances. * Fix: Browser would crash when...
Read more >Cannot get entityMap using @draft-js-plugins/linkify & hashtag ...
The link entity only working if I paste the URL directly on the editor. Mention is working fine but the hashtag or URL...
Read more >Instagram Assistant Frequently Asked Questions - INSSIST
Inssist stands for Instagram Assistant. It is a powerful Chrome Extension (plugin) and a standalone app that brings Instagram Mobile View to your...
Read more >93 Free Twitter Tools & Apps That Do Pretty Much Everything
Log in to follow a specific hashtag, hang out in a room that collects the hashtagged tweets for you, and reply as you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nikgraf : Working on it 😄
no worries @nmt1994 - glad you found the issue 👍