Ability to choose which HTML tags to use
还没有人认领这个 Issue。
评估
调研方向
从 Aztec.TextView 和 getHTML() 导出路径开始,然后跟踪 attributedText 如何转换为 HTML。定义调用方如何选择用于粗体、斜体、下划线和段落输出的标签;完成标准是 getHTML() 支持所请求的标签选择,而不需要手动替换。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
For my project I need to be able to export the HTML after editing with the TextView selecting which tags I want to use. For example, we need to use <b> for bold text instead of <strong>.
Describe the solution you'd like
Letting the user the possibility of choosing tags to use when getting the html (using getHTML()).
Describe alternatives you've considered
For now I will need to manually replace all tags by what I need. I also don't want to use <p> tags which are added automatically so I will need to replace those accordingly.
Additional context
I'm using the Aztec.TextView in Swift and setting its attributedText with my own attributed string at the beginning. The only html tags we want to use are <b>, <i> and <u>.
Many thanks! 😊
- 主要语言
- Swift
- 星标
- 667
- 派生
- 153
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wordpress-mobile/AztecEditor-iOS 的其他 Issue
-
Bug
难度 3/5 1-2 天 新手友好度 45/100
wordpress-mobile/AztecEditor-iOS#1417 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
wordpress-mobile/AztecEditor-iOS#1411 ·
-
iOS 17 Crash - UIGraphicsBeginImageContext() failed to allocate CGBitampContext可能重新可做 @jkmassel 于 625 天前认领,目前没有进行中的 PR。 未关闭
wordpress-mobile/AztecEditor-iOS#1401 · 2 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
wordpress-mobile/AztecEditor-iOS#1399 ·
-
难度 3/5 1-2 天 新手友好度 35/100
wordpress-mobile/AztecEditor-iOS#1398 · 1 条评论 · 1 个 reaction ·
查看 wordpress-mobile/AztecEditor-iOS 的全部 Issue
相似的 Issue
-
good first issue help wanted
难度 2/5 1-3 小时 新手友好度 70/100
harf-promo/decaffeinate#21 ·
-
enhancement low-priority milestone-qa tests
难度 2/5 1-3 小时 新手友好度 66/100
lognorman20/monaco#4877 ·
-
enhancement P3 Starter Task users requested
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
DataDog/dd-sdk-ios#3293 ·
维护者通常 3 天内回复
-
[Bug]: container logs -f exits immediately with no output when the container's log file is empty未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复