Skip to content

Releases: sodenn/lexical-beautiful-mentions

lexical-beautiful-mentions@0.1.31

27 Feb 20:47
25b5905
Compare
Choose a tag to compare

Patch Changes

  • bf6d8f0: feat(useBeautifulMentions): allow to insert mentions with data

lexical-beautiful-mentions@0.1.30

24 Jan 17:41
330ebdb
Compare
Choose a tag to compare

Patch Changes

  • 7e1a1ea: refactor(TypeaheadMenuPlugin): use TypeaheadMenuPlugin from @lexical/react. ⚠️ Initially, this project has used a copy of LexicalTypeaheadMenuPlugin 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 original LexicalTypeaheadMenuPlugin 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

14 Jan 14:19
7145e44
Compare
Choose a tag to compare

Patch Changes

  • b2e5c65: fix(createBeautifulMentionNode): add missing return type for custom mention node
  • d03f567: fix($convertToMentionNodes): triggers followed by text in the middle of a word should be recognized as mentions

lexical-beautiful-mentions@0.1.28

10 Jan 17:20
d44c56f
Compare
Choose a tag to compare

Patch Changes

  • 413fcbf: fix(): set missing return type of BeautifulMentionNode methods

lexical-beautiful-mentions@0.1.27

08 Jan 15:27
4855678
Compare
Choose a tag to compare

Patch Changes

  • cb6a655: fix(): onBlur behavior in MentionComponent

lexical-beautiful-mentions@0.1.26

28 Dec 13:54
0ce21f7
Compare
Choose a tag to compare

Patch Changes

  • ab5971d: fix(): insert a space (if necessary) when pasting text
  • 18c2bb5: feat(): mentions adopt the selected state when the text section is selected

lexical-beautiful-mentions@0.1.25

27 Dec 13:49
8b9984d
Compare
Choose a tag to compare

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

13 Dec 17:39
7d84f55
Compare
Choose a tag to compare

Patch Changes

  • 2487452: fix(Menu): prevent other key enter commands from blocking the menu from closing

lexical-beautiful-mentions@0.1.23

11 Dec 17:29
995efa9
Compare
Choose a tag to compare

Patch Changes

  • cc96095: fix(BeautifulMentionNode + ZeroWidthNode): fix HTML/JSON node serialization & deserialization

lexical-beautiful-mentions@0.1.22

09 Dec 21:07
a1126cb
Compare
Choose a tag to compare

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 new textContent 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