Skip to content

Commit 38eb7e6

Browse files
committed
docs: text alignment text shortcuts
1 parent 6467a76 commit 38eb7e6

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

docs/docs/api-reference/enriched-text-input.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,9 @@ list item), typing the trigger pattern has no effect.
705705

706706
:::
707707

708+
**[Text alignment](/rich-text-formatting/text-alignment)** fire with the same scheme
709+
as paragraph styles, but doesn't require a plain paragraph to be effective.
710+
708711
**[Inline styles](/fundamentals/html-format-and-supported-tags#inline-tags)**
709712
fire when a closing delimiter is typed around text (e.g. `**text**` → bold). The
710713
trigger is the delimiter string (e.g. `**`, `*`, `~~`). Supported styles:

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ things:
3939
one paragraph style, these only fire on a **plain** paragraph: if the line is
4040
already a heading or a list item, typing the prefix does nothing.
4141

42+
- **Alignment shortcuts** (`left`, `center`, `right`, `justify`) can be applied with no limits,
43+
to any already styled paragraph.
44+
4245
- **Inline shortcuts** (`bold`, `italic`, `underline`, `strikethrough`,
4346
`inline_code`) fire when you type a **closing delimiter** around some text, so
4447
typing `**word**` bolds `word`.

0 commit comments

Comments
 (0)