react-native-enriched
Copilot instructions1.4k starsChanged 4 days agoMITView on GitHub
Condensed from .agents/skills/review-changes/ (code review + parity stages; no device testing). Keep the two in sync. CodeRabbit PR review loads this file automatically as a code guideline (see .coderabbit.yaml); keep it short and focused on what a PR bot can check. react-native-enriched ships one EnrichedTextInput / EnrichedText API on three implementations: iOS (ios/), Android (android/), web (src/web/). Shared: TS API (src/), HTML parser (cpp/parser). Lint, typecheck, tests and native formatting run in CI — don't report what those catch. A…
Trending
Quiet since August.about the whole repository
Who's talking about software-mansion/react-native-enriched
- software-mansion/react-native-enriched-html“feat: add returnKeyType, submitBehavior, onSubmitEditing, returnKeyLabel props”GitHub · Jan 18, 2026 · 2 reactions
- software-mansion/react-native-enriched-html“fix: removing all characters from a line logic on iOS”GitHub · Nov 27, 2025 · 1 reactions
- YamilAyma/enlaces-para-desarrolladores“Enlaces rotos detectados en el README”GitHub · Aug 9, 2026
- YamilAyma/enlaces-para-desarrolladores“Enlaces rotos detectados en el README”GitHub · Aug 2, 2026
- YamilAyma/enlaces-para-desarrolladores“Enlaces rotos detectados en el README”GitHub · Jul 26, 2026
The biggest 5 of 15 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 15
Talked about on GitHub and Bluesky (15 times).
On GitHub · 14
- Jan 18, 2026feat: add returnKeyType, submitBehavior, onSubmitEditing, returnKeyLabel props — software-mansion/react-native-enriched-html2 reactions · 6 comments
- Nov 27, 2025fix: removing all characters from a line logic on iOS — software-mansion/react-native-enriched-html1 reaction
- Aug 9, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions · 2 comments
- Aug 2, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jul 26, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions · 3 comments
9 more on GitHub
- Jul 19, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jul 12, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jul 5, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jun 29, 2026chore(deps): bump the react-native group across 1 directory with 21 updates — nastorehub/NasDoor0 reactions · 61 comments
- Jun 28, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jun 21, 2026Enlaces rotos detectados en el README — YamilAyma/enlaces-para-desarrolladores0 reactions
- Jun 9, 2026feat: adjust opacity settings — software-mansion/react-native-enriched-html0 reactions
- Feb 1, 2026feat: add insertValue method — software-mansion/react-native-enriched-html0 reactions · 12 comments
- Oct 6, 2025wip: focus handling — software-mansion/react-native-enriched-html0 reactions
On Bluesky · 1
- Mar 5, 2026I haven't tried it yet, but this looks pretty good: github.com/software-man... — @wodin.bsky.social0 likes and reposts · 1 reply
In this repository3 other files it gives its agents.
- docs/CLAUDE.mdCLAUDE.md
- .cursor/rules/argent.mdcCursor rule
- review-changesSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Keep the two in sync. CodeRabbit PR review loads this file automatically as a code guideline (see .coderabbit.yaml).
- Distinctive: line 58
No style nits, no praise, no summaries of what the PR does.
≈ “Common” is an estimate: at least 1 in 5 of the 3,950 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Review instructions
Condensed from .agents/skills/review-changes/ (code review + parity stages; no device testing).
Keep the two in sync. CodeRabbit PR review loads this file automatically as a code guideline
(see .coderabbit.yaml); keep it short and focused on what a PR bot can check.
react-native-enriched ships one EnrichedTextInput / EnrichedText API on three
implementations: iOS (ios/), Android (android/), web (src/web/). Shared: TS API (src/),
HTML parser (cpp/parser). Lint, typecheck, tests and native formatting run in CI — don't
report what those catch.
Feature parity (most important)
A change to one platform usually needs the same change on the others. For each behaviour the PR touches, find its counterpart and check it behaves the same (defaults, edge cases, event payloads, HTML output):
- styles:
ios/styles/*Style.mm↔android/**/textinput/styles/*.kt+spans/↔src/web/formats/Enriched*.ts - HTML parsing:
ios/{html,inputHtml,textHtml}Parser/↔android/**/common/parser/↔src/web/htmlExtensions/,sanitization/,normalization/(+cpp/parser) - props/commands/events:
ios/EnrichedTextInputView.mm↔ Android view manager +events/↔src/web/EnrichedTextInput.tsx,nativeMappers/
Flag as a parity gap any platform that is missing the change or diverges, unless it is
listed in docs/docs/misc/compatibility.mdx / known-limitations.md or explained in the PR. A
bug fixed on one platform that still exists on another is a parity gap. An intentional but
undocumented difference: ask for a compatibility.mdx entry.
Correctness
- Empty text; selection at start/end; collapsed vs ranged selection.
- Nested/overlapping styles; toggling a style across a boundary.
- Paragraph styles (lists, headings, blockquote, code block, checkbox, alignment) over several paragraphs, and Enter/Backspace at their edges.
- Undo/redo; paste of plain text and HTML; IME/composition.
- Emoji / surrogate pairs: UTF-16 offsets (JS) vs native indices.
- iOS: UIKit work off the main thread, retain cycles in blocks/delegates,
NSRangebounds,TARGET_OS_OSXguards in shared code. - Android: span flags,
SpannableStringBuilderindex math, watchers re-entering on their own edits, UI-thread access. - Events: payload matches
src/spec/*NativeComponent.ts; nothing emitted after unmount.
HTML round trip
value → native → getHTML() must give equivalent HTML. New/changed tags or attributes must be
handled by the parsers, the normalizer and web sanitization; attribute values must be escaped.
API surface
New/changed props, commands or events must appear in src/types.ts,
src/spec/*NativeComponent.ts, default props, and docs/docs/api-reference/. Call out breaking
changes. Unit-testable logic needs tests (src/web/__tests__, cpp/tests).
How to comment
- Severity prefix: blocker (crash, data loss, HTML corruption), major (wrong behaviour, common edge case, parity gap), minor (rare edge case, missing test/docs).
- Point at the line, say what goes wrong and how to reproduce it, suggest a fix. For parity gaps, name the counterpart file that needs the change.
- No style nits, no praise, no summaries of what the PR does.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

