Highlight colours in player-facing text
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
调研方向
Start by reviewing the linked cc-textparser example at examples/markup.ts and the editor fields that hold text visible to players in-game. The issue suggests overlapping a text area with rendered output and parsing input when it changes, with debouncing. Done means player-facing text fields display highlighted colours while remaining editable.
由索引模型根据 Issue 内容生成。
描述
Look into using https://github.com/redstonekasi/cc-textparser/ to highlight text in fields that the player can eventually see in-game. Kasi's implementation example was this:
you'd overlap a text area and the rendered output over each other and then just run cc-textparser over the input when text changes (probably debounced a bit)
An example of a text colouring implementation can be found here:
https://github.com/redstonekasi/cc-textparser/blob/main/examples/markup.ts
- 主要语言
- TypeScript
- 星标
- 59
- 派生
- 19
- 平均合并
- 32 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CCDirectLink/crosscode-map-editor 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
难度 3/5 1-2 天 新手友好度 68/100
-
internal
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 39/100
查看 CCDirectLink/crosscode-map-editor 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 85/100
formbricks/formbricks#9918 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 65/100
thecodacus/pithagoras#364 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
openclimatefix/quartz-frontend#823 ·
维护者通常 4 天内回复
-
area:agent-manager community needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
`contacts.create` posts to `/audiences/undefined/contacts` when `audienceId` is undefined可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
resend/resend-node#1176 ·
维护者通常 1 天内回复