Commit Graph

29 Commits

Author SHA1 Message Date
fd19fa9e5b FocusPlugin: refactor the useEffect for sanity 2023-11-27 14:56:42 -06:00
fba42b531b adding tailwind snap effect to scrolled autosuggested items 2023-10-15 02:16:27 +02:00
e0c11fbfd1 Rework MentionNode to take a whole Mention entity 2023-10-13 22:14:55 -05:00
964ba8c758 Make MentionNode a DecoratorNode instead of a TextNode 2023-10-13 17:19:55 -05:00
8f55b6d5c2 Split SubmitPlugin out of StatePlugin 2023-10-13 15:16:39 -05:00
5ed8c78c88 added vertical scroll feature to the autosuggest component 2023-10-07 13:26:14 +00:00
645ce60a5f eslint: use semicolon TypeScript delimeter 2023-10-02 13:54:02 -05:00
12118e1435 autosuggest css should be relative, not fixed 2023-09-27 14:40:11 +02:00
cdda5363f6 actions: useEmoji --> chooseEmoji 2023-09-25 16:20:47 -05:00
f3783f1a50 AutosuggestPlugin: don't autosuggest hashtags for now
https://gitlab.com/soapbox-pub/soapbox/-/issues/1527
2023-09-25 16:09:53 -05:00
4b5602a086 lexical: render native emojis as Twemoji 2023-09-25 16:02:13 -05:00
2a9cb08d08 lexical: restore EmojiNode, fix Android backspace! 2023-09-25 15:46:29 -05:00
aea2653b19 AutosuggestPlugin: remove extraneous ? 2023-09-25 15:18:46 -05:00
e88b952a6f lexical: remove MentionPlugin, only insert mention when selected from autosuggest 2023-09-25 14:49:00 -05:00
71bb8cc73e lexical: fix license path in lexical files 2023-09-25 13:32:12 -05:00
f628cd73b0 MentionPlugin: use a simpler regex, fix double-@ mentions
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1530
2023-09-25 13:30:52 -05:00
5449ea3326 MentionPlugin: simplify regex and getMatch 2023-09-25 12:25:40 -05:00
7ff9d2ed3b MentionPlugin: do a little refactoring 2023-09-25 12:16:29 -05:00
60f0e6ff6a Disable EmojiNode for now :( 2023-09-24 14:48:38 -05:00
bc3662afc7 lexical: fix ctrl+Enter 2023-09-23 16:20:09 -05:00
46b63571e7 lexical: fix modal close confirmation 2023-09-23 15:33:43 -05:00
a67b5f8a25 lexical: add RefPlugin to set the ref 2023-09-23 15:10:05 -05:00
206927fd4b AutosuggestPlugin: clear suggestions after selecting a suggestion 2023-09-23 14:26:43 -05:00
aa4992e716 AutosuggestPlugin: update when suggestions updates 2023-09-23 14:22:27 -05:00
8f49446a15 AutosuggestPlugin: pageYOffset --> scrollY 2023-09-23 14:05:48 -05:00
b14a6586b4 AutosuggestPlugin: treat Tab the same as Enter 2023-09-23 14:02:05 -05:00
373fe3a77e lexical: remove markdown support 2023-09-22 17:22:46 -05:00
e619ffffdd lexical: fix minor spacing/size issues 2023-09-22 15:38:27 -05:00
fac42ab2c9 Merge remote-tracking branch 'soapbox/main' into lexical
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2023-09-20 23:49:55 +02:00