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

Inline collapsibles/details

未关闭
#8,113 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
frontend, web-dev

调研方向

未指定文件或测试。首先定位 Tiptap/ProseMirror 编辑器中现有的 details/collapsible 区块,然后查看链接等内联文本功能是如何处理的。当文本行中选定的部分可以打开一个包含附加信息的小型 details 框,而无需离开当前页面时,即视为完成。

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

描述

enhancement needs discussion

Is your feature request related to a problem? Please describe.
The "details" collapsibles are only available in a new block. It would be nice to have both inline.

Describe the solution you'd like
Be able to make a part of a line of text (e.g. 1 word, like with links) collapsible, so that when you click it, a small details-box pops up, that shows some more information on that keyword e.g.

Other references
I think of something like on Wikipedia: when you hover over a link, a small preview is shown, so you don't have to click the link/leave your current page, just to get a glimpse of what is beneath it.

主要语言
JavaScript
星标
665
派生
133
平均合并
1 天 17 小时
30 天内合并 PR
172

环境准备

从这里开始

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

nextcloud/text 的其他 Issue

查看 nextcloud/text 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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