File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ const pick = (emoji) => {
5757};
5858```
5959
60- Since the emoji glyph _ is _ the whole mention, drop the usual highlight so it
60+ Since the emoji glyph is the whole mention, drop the usual highlight so it
6161reads as plain text:
6262
6363``` tsx
@@ -72,15 +72,15 @@ const htmlStyle = {
7272};
7373```
7474
75- :::info
76-
77- If you want to see the whole code used to build this example, you can find it below by switching the tab from ` Preview ` to ` Code ` .
78-
79- :::
80-
8175## Try it out
8276
8377Type ` : ` followed by a name - ` :fire ` , ` :heart ` - then tap a suggestion. The
8478shortcode collapses into a single emoji you can place anywhere in the text.
8579
8680<InteractiveExample src = { EmojiEditorSrc } component = { EmojiEditor } />
81+
82+ :::info
83+
84+ If you want to see the whole code used to build this example, you can find it by switching the tab from ` Preview ` to ` Code ` .
85+
86+ :::
Original file line number Diff line number Diff line change @@ -79,19 +79,19 @@ const htmlStyle = {
7979};
8080```
8181
82- :::info
83-
84- If you want to see the whole code used to build this example, you can find it below by switching the tab from ` Preview ` to ` Code ` .
85-
86- :::
87-
8882## Try it out
8983
9084Type ` @ ` to filter people or ` # ` to filter channels, keep typing to narrow the
9185list, then tap a suggestion.
9286
9387<InteractiveExample src = { MentionOnlyEditorSrc } component = { MentionOnlyEditor } />
9488
89+ :::info
90+
91+ If you want to see the whole code used to build this example, you can find it by switching the tab from ` Preview ` to ` Code ` .
92+
93+ :::
94+
9595:::tip
9696
9797A mention is only active while the editor is focused - if it blurs,
You can’t perform that action at this time.
0 commit comments