Notes edit view is showing raw markdown incorrectly
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- javascript
调研方向
首先,按照报告中针对标题、heading 和 subheading 的步骤,在 Notes Web UI 中复现该问题,然后将编辑视图与下载的 Markdown 和预览进行比较。完成的标准是:编辑视图始终显示原始 Markdown,并按预期突出显示 Markdown 字符,同时预览和下载的文件保持正确。
由索引模型根据 Issue 内容生成。
描述
Steps to reproduce
- Create a new note using the web UI
- Add a title, heading and subheading
- Notice how additional lines are added in the edit view
- View the preview, notice how this looks correct
- Download the file and look at in a text editor
- Notice how this looks as expected
Expected behaviour
The edit view has previously shown the raw markdown but with the markdown characters highlighted in grey.
Actual behaviour
Additional lines are now added which are confusing and do not match the raw markdown.
I have tested this on multiple Windows PC's running both Firefox and Edge and am seeing the same issue.
This appears to have occured since I updated a very old instance of Nextcloud to the version listed below.
I was at least two versions behind.
Screenshots
Gif showing the issue
Downloaded file in notepad showing the raw markdown is as expected.
Server
Please complete the following information.
- Notes app version: 4.13.0
- Nextcloud version: Nextcloud Hub 25 Autumn (32.0.6)
- OS: NextcloudPi v1.56.0 (Debian GNU/Linux 12. 6.1.21-v8+ (aarch64))
- Web server: Unknown
- PHP version: Unkonwn
- Database: MariaDB
Nextcloud configuration:
Client
Please complete the following information.
- Browser (incl. version): Firefox 148 Edge 145.0.3800.82 (Official build) (64-bit)
- OS: Windows 11
Log files
None
- 主要语言
- JavaScript
- 星标
- 738
- 派生
- 162
- 平均合并
- 2 小时 29 分钟
- 30 天内合并 PR
- 42
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/notes 的其他 Issue
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
维护者通常 1 天内回复
-
bug need to reproduce
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
feature request needs discussion
难度 1/5 1 小时以内 新手友好度 62/100
nextcloud/notes#1344 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 72/100
opensearch-project/security-dashboards-plugin#2543 ·
维护者通常 1 天内回复
-
[quality] refresh-radar-reports.yml runs on ubuntu-latest while every other job pins ubuntu-24.04未关闭agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
难度 1/5 1-3 小时 新手友好度 90/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
godotengine/godot-website#1432 ·
-
Add: Mooz Retro未关闭channels:add check:passed
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复