Repository navigation
docs: custom style - #816
Merged
hejsztynx merged 6 commits intoOct 20, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The example’s font selection does not work on iOS, and the documented color-output guarantee is inaccurate on Web.
2 open findings
What changed in this PR
Documents custom styling for the rich-text editor, including API usage and an interactive example.
Changes:
- Adds a custom-style guide and editor demo.
- Documents style state, HTML representation, and
setStyle. - Reorders formatting topics to include the new guide.
| File | Description |
|---|---|
| docs/src/examples/CustomStyleEditor.tsx | Adds custom-style controls. |
| docs/docs/rich-text-formatting/text-shortcuts.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/text-alignment.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/mentions.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/lists.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/links.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/inline-images.mdx | Adjusts sidebar order. |
| docs/docs/rich-text-formatting/custom-style.mdx | Adds usage guidance and demo. |
| docs/docs/rich-text-formatting/basic-styles.mdx | Introduces custom style alongside other styles. |
| docs/docs/fundamentals/html-format-and-supported-tags.md | Documents styled spans. |
| docs/docs/fundamentals/core-concepts.md | Explains value-based style state. |
| docs/docs/api-reference/enriched-text-input.md | Documents custom-style events and methods. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
hejsztynx
requested review from
exploIF and
szydlovsky
and removed request for
exploIF
October 16, 2026 07:57
exploIF
approved these changes
Oct 16, 2026
Co-authored-by: Igor Furgała <74370735+exploIF@users.noreply.github.com>
szydlovsky
approved these changes
Oct 19, 2026
szydlovsky
left a comment
Collaborator
There was a problem hiding this comment.
Looks nice, some minor comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Added documentation around the new
custom stylefeature