Releases: sodenn/lexical-beautiful-mentions
Releases · sodenn/lexical-beautiful-mentions
lexical-beautiful-mentions@0.1.31
Patch Changes
- bf6d8f0: feat(useBeautifulMentions): allow to insert mentions with data
lexical-beautiful-mentions@0.1.30
Patch Changes
- 7e1a1ea: refactor(TypeaheadMenuPlugin): use TypeaheadMenuPlugin from
@lexical/react
.⚠️ Initially, this project has used a copy ofLexicalTypeaheadMenuPlugin
from@lexical/react
with a few adjustments regarding the positioning of the menu. This is no longer needed as the positioning issues has been fixed. Now, we can use the originalLexicalTypeaheadMenuPlugin
from@lexical/react
. If the menu is too far below the caret, this is probably due to the absolute positioning (top: x). You can remove the "top" property, as the menu opens directly under the caret now. - e4f29c1: feat(EmptyComponent): ability to render a custom component if no results are found
lexical-beautiful-mentions@0.1.29
lexical-beautiful-mentions@0.1.28
Patch Changes
- 413fcbf: fix(): set missing return type of BeautifulMentionNode methods
lexical-beautiful-mentions@0.1.27
Patch Changes
- cb6a655: fix(): onBlur behavior in MentionComponent
lexical-beautiful-mentions@0.1.26
lexical-beautiful-mentions@0.1.25
Patch Changes
- 3f97fa8: fix(): remove the copy-and-paste handling from the plugin and suggest to use the lexical RichTextPlugin instead
lexical-beautiful-mentions@0.1.24
Patch Changes
- 2487452: fix(Menu): prevent other key enter commands from blocking the menu from closing
lexical-beautiful-mentions@0.1.23
Patch Changes
- cc96095: fix(BeautifulMentionNode + ZeroWidthNode): fix HTML/JSON node serialization & deserialization
lexical-beautiful-mentions@0.1.22
Patch Changes
- 17b8bd5: feat(): copy value of selected mention to clipboard
- 2388ee5: fix(ZeroWidthPlugin): 🚨 to avoid that the trigger character is inserted at the wrong position when using
openMentionMenu
(lexical >0.12.4), you need to set the newtextContent
prop of the ZeroWidthPlugin to a non-empty string. Don`t forget to remove the non-empty string characters before saving the content to your database. - 17b8bd5: feat(): paste mentions from clipboard into editor