Web support is still experimental. APIs and behavior can change in future releases without a major version bump. Expect breaking changes until the web path is stabilized.
- Inline marks: bold, italic, underline, strikethrough, inline code
- Headings (h1-h6)
- Blockquote, code block
- Ordered lists, unordered lists, checkbox lists
- Images (via
setImageref method and optionalonPasteImageswhen pasting image data) - Manual links (via
setLinkref method) - Mentions
getHTML,setValue, selection mapping- Core callbacks:
onChange,onChangeState,onFocus,onBlur,onSelectionChange - Submit props:
submitBehaviorandonSubmitEditing.returnKeyTypeis only a hint, it maps to enterkeyhint (done,go,next,previous,search,send,default/enter). Not all values ofReturnKeyTypeOptionsare supported, the behavior of this prop is heavily dependent on the browser's capabilities. - Input theming via
placeholderTextColor,cursorColorandselectionColorprops - Keyboard shortcuts for formatting
See Web Keyboard Shortcuts for the up-to-date list of Web keyboard shortcuts.
returnKeyLabel: ignored on web, it's not possible to set it inside a browser.- Automatic link detection:
linkRegexis ignored. Links only work when set explicitly via thesetLinkref method. - Context menu:
contextMenuItemsis ignored. - HTML normalizer flag:
useHtmlNormalizeris ignored; paste behavior follows the browser pipeline. - RN layout ref methods:
measure,measureInWindow,measureLayout, andsetNativePropsare no-ops. EnrichedText: The read-only component is not exported on web.ViewProps: Props inherited fromViewbeyond the implemented subset are not forwarded.textShortcuts: ignored on web.
You are responsible for sanitizing HTML on both input and output. The library does not guarantee safe or clean HTML output. This applies to any HTML you persist, render elsewhere, or accept from untrusted sources (XSS, paste attacks, etc.).