Skip to content

Commit 15c59c4

Browse files
committed
docs: rewording tweaks
1 parent ec9d29f commit 15c59c4

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/docs/rich-text-formatting/inline-images.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ setImage(src: string, width: number, height: number)
2121
- `src` - an absolute file path or a remote image URL.
2222
- `width` / `height` - the size the image should render at.
2323

24-
The image lands on its own line at the current selection, replacing any
24+
The image gets inserted at the current selection, replacing any
2525
selected text.
2626

2727
```tsx

docs/docs/rich-text-formatting/mentions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The read-only `EnrichedText` also emits an event you can use to handle user inte
9393

9494
- **`onMentionPress`** fires when the user presses a mention.
9595

96-
:::tip
96+
:::caution
9797

9898
Prefix your custom attribute names with `data-` (e.g. `{ 'data-profile-url': user.profileUrl }`).
9999
Non-standard attributes can be dropped when the HTML passes through a sanitizer -

docs/docs/rich-text-formatting/text-shortcuts.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ things:
4646
:::note
4747

4848
The usual [style rules](/rich-text-formatting/basic-styles#paragraph-styles) still
49-
apply to shortcut-triggered styles. If the target style is **blocked** by an
50-
active one (e.g. bold inside a code block), the shortcut has no effect.
49+
apply to shortcut-triggered styles. If the target style is **blocked** by
50+
(e.g. bold inside a code block) or conflicts with an active one (e.g. heading inside a code block),
51+
the shortcut has no effect.
5152

5253
:::
5354

0 commit comments

Comments
 (0)