Skip to content

Commit b61801e

Browse files
committed
refactor: note order
1 parent 02eebe0 commit b61801e

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

docs/docs/guides/emojis.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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
6161
reads 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

8377
Type `:` followed by a name - `:fire`, `:heart` - then tap a suggestion. The
8478
shortcode 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+
:::

docs/docs/guides/user-and-channel-mentions.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

9084
Type `@` to filter people or `#` to filter channels, keep typing to narrow the
9185
list, 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

9797
A mention is only active while the editor is focused - if it blurs,

0 commit comments

Comments
 (0)