LogoClawIndex
CasesSkillsAbout
LogoClawIndex

react-native-codeditor - Embed a CodeMirror editor in React Native

Embeds and controls a CodeMirror 6 editor in a React Native WebView through a bidirectional RPC bridge.

Tags

Updated: 2026-09-29

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Embed a CodeMirror editor
  • Control editor content
  • Set language and theme
  • Manage cursor and selection
  • Undo and redo history
  • Register keyboard shortcuts
  • Handle editor events
  • Copy native editor assets

Inputs

  • React Native application
  • WebView configuration
  • Initial editor content
  • Language and theme settings
  • CodeMirror extension specifications
  • Cursor and selection parameters
  • Completion items
  • Shortcut definitions
  • Native editor assets

Outputs

  • Embedded code editor
  • Updated document content
  • Cursor and selection state
  • Undo and redo state
  • Editor event callbacks
  • Shortcut event callbacks
  • WebView logs and errors

Requirements

  • React Native 0.71 or later
  • react-native-webview 11 or later
  • Android WebView 61 or later
  • iOS WKWebView
  • expo-file-system on iOS
  • Copied Android editor assets

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
React Native
CodeMirror
WebView
code editor
RPC bridge
Android
iOS
Embed a CodeMirror editor
Control editor content
Set language and theme
Manage cursor and selection
React Native application
WebView configuration
Initial editor content
Embedded code editor
Updated document content
Cursor and selection state