Skip to content

docs: custom style - #816

Merged
hejsztynx merged 6 commits into
@kacperzolkiewski/custom-stylefrom
@ksienkiewicz/docs-custom-style
Oct 20, 2026
Merged

hejsztynx merged 6 commits into
@kacperzolkiewski/custom-stylefrom
@ksienkiewicz/docs-custom-style

Conversation

@hejsztynx

Copy link
Copy Markdown
Collaborator

Summary

Added documentation around the new custom style feature

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.

Comment thread docs/docs/rich-text-formatting/custom-style.mdx Outdated
Comment thread docs/src/examples/CustomStyleEditor.tsx
@hejsztynx
hejsztynx requested review from exploIF and szydlovsky and removed request for exploIF October 16, 2026 07:57
Comment thread docs/docs/rich-text-formatting/custom-style.mdx Outdated
Comment thread docs/src/examples/CustomStyleEditor.tsx Outdated
Comment thread docs/src/examples/CustomStyleEditor.tsx Outdated
hejsztynx and others added 2 commits October 16, 2026 10:20
Co-authored-by: Igor Furgała <74370735+exploIF@users.noreply.github.com>

@szydlovsky szydlovsky left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice, some minor comments

Comment thread docs/docs/api-reference/enriched-text-input.md Outdated
Comment thread docs/docs/rich-text-formatting/custom-style.mdx Outdated
@hejsztynx
hejsztynx merged commit 9f21845 into @kacperzolkiewski/custom-style Oct 20, 2026
@hejsztynx
hejsztynx deleted the @ksienkiewicz/docs-custom-style branch October 20, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants