tribute
tribute copied to clipboard
Autocomplete search by full string
I'm implementing Rich text editor with mention feature using Froala and Tribute.
I need 2 mention sceneries:
1 - using @ and trigger menu after 1 character
2 - without using any trigger but starting from 3 characters.
I'm using two instances with different options and on the first look it works well, but
autocomplete search strategy is different from not autocomplete, it search by letters itself not by whole string.
When i'm entering "aaa" it triggers for @Mikkel Westergaard Larsen which is not needed for me.
When writing random text it triggers to many times at random words.
So the question is how to make autocomplete search by string not letters ?
hey have you found any output for this issue
I'm using collection for different triggers.
Hi,
Can You Please Send Code for how you approached this thing.Can you please send the tribute.js and index.html where you made changes. I struck with this issue
Thanks, MAnikanta
On Fri, 4 Nov 2022 at 14:20, Stanislav @.***> wrote:
I'm using collection for different triggers.
— Reply to this email directly, view it on GitHub https://github.com/zurb/tribute/issues/734#issuecomment-1303131433, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDOXMJMTQHIF3HBIAX7TILWGTE5XANCNFSM5LL55CTQ . You are receiving this because you commented.Message ID: @.***>
What exact problem do you have?
What exact problem do you have?
if i type del then it is suggesting two. they are
- Delware
- Rhode Island But i want only delware to suggest, i dont want Rhode Island. I want to match with entire string not with characters
https://zurb.github.io/tribute/example/ can you try here