4-space indent selected text in description
还没有人认领这个 Issue。
评估
调研方向
从 main branch 中的描述框开始,找到作用于所选行的控件。验证当前如何处理选择和缩进,然后确认点击按钮会在所选行开头添加四个空格,并且生成的文本会被格式化为一个块。
由索引模型根据 Issue 内容生成。
描述
https://ombulabs.atlassian.net/browse/DT-263
Branch/Commit:
Main branch
Describe the feature:
As a developer
I select some lines from the description
And then I click a button
And I see the selected lines indented with 4 leading white spaces so it's formatted as a block
Problem:
Currently, if we want to add code, we have two methods:
- triple backticks around the code (which is not always reliable and adds a color to the code)
- 4-spaces indentation (which is pretty annoying to adjust the indentation once the code is in the desription box or you have to update the indentation before copying the code)
I will abide by the code of conduct
- 主要语言
- Ruby
- 星标
- 42
- 派生
- 17
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
fastruby/points 的其他 Issue
-
Feature Request ux
难度 3/5 1-2 天 新手友好度 38/100
-
Feature Request
难度 3/5 1-2 天 新手友好度 45/100
-
Feature Request
难度 3/5 1-2 天 新手友好度 35/100
-
Feature Request
难度 5/5 一周以上 新手友好度 30/100
-
Bug
难度 3/5 1-2 天 新手友好度 35/100
相似的 Issue
-
user-reported
难度 2/5 1-3 小时 新手友好度 85/100
Kong/developer.konghq.com#7316 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
TheOdinProject/curriculum#31408 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
notch8/utk_knapsack#148 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
Homebrew/homebrew-cask#288729 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100