Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature Request] Add insertText(text) API to insert plain text at cursor

未关闭
#255 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

@IslamRustamov 已经在做这个了。

开始于 2026年2月1日。

  • #409 来自 @IslamRustamov —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
react-native
领域
mobile

调研方向

首先定位 EnrichedTextInput 的实现及其原生桥接或命令入口点。在不使用 setValue() 的情况下添加 insertText(text: string): void API,然后验证纯文本会插入光标位置,同时保持格式、历史记录和光标状态不变。

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue

EnrichedTextInput currently provides formatting commands (bold, image, mention, link, etc.), but there is no API to insert plain text at the current cursor position.

A simple method like:

insertText(text: string): void

would allow developers to implement common features such as inserting emoji (😄), autocomplete suggestions, custom keyboard input, and snippet insertion.
Using setValue() is not a solution because it breaks formatting, history, and cursor state.

This feature requires only minimal native changes and would greatly improve integration with custom input components.

主要语言
C
星标
1.4k
派生
68
平均合并
3 天 16 小时
30 天内合并 PR
6

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

software-mansion/react-native-enriched-html 的其他 Issue

查看 software-mansion/react-native-enriched-html 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。