Editor improvements #486
无评审员
标签
未选择标签
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
未选择里程碑
暂无项目
未指派成员
2 位参与者
通知
到期时间
未设置到期时间。
依赖工单
没有设置依赖项。
引用:Plume/Plume#486
正在加载…
添加表格
在新工单中引用
没有提供说明。
删除分支 "editor-improvements"
删除分支是永久的。虽然已删除的分支在实际被删除前有可能会短时间存在,但这在大多数情况下无法撤销。是否继续?
TODO:
If I may add to the todo list: https://github.com/Plume-org/Plume/pull/458#issuecomment-473323102
Codecov Report
@fdb-hiroshima Yes, the first one is already fixed, I'll see for the other. :)
I think basic-editor should be permanent, and there would then be a button to re-enable the "advanced" editor
I don't really know how to name it…
rich text editor?
It's a bit sad markdown does not work with the rich editor (cmark see some div so it assumes it's only html and does not attempt to parse markdown)
@fdb-hiroshima This should definitely be fixed before merging this branch I think. I will see what I can do.
The only fix I see is, given the following :
Where we are given a single
Html("<div>some text</div><div></div>")
, we could cut it out as["some text", ""]
, call cmark on each of these, and put back thediv
sI was more thinking of pre-processing the HTML with the DOM APIs in WASM, because your solution may break footnotes, or links that use this syntax:
please remove the callgrind output files from the PR