Tencent / Tencent/cherry-markdown
[Bug Report] 使用drawio,控制台报错: mxClient.js:1782 mxCodec.getConstructor: html not allowed in mxCodec.allowlist
Open
Nobody has claimed this yet.
🐞bug
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 572
- Avg merge
- 17h 5m
- Merged PRs (30d)
- 14
Description
Prerequisites
- [x ] There isn't an existing issue that reports the same bug to avoid duplicates.
Describe the Bug
使用新版本的drawio,控制台报错:
mxClient.js:1782 mxCodec.getConstructor: html not allowed in mxCodec.allowlist
同时离开,使用过drawio后,离开页面有提示:系统可能不会保存您所做的更改。
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the drawio usage described in the report and capture the console error from mxClient.js:1782. Investigate the page-leave warning that appears after using drawio; done means identifying whether Cherry Markdown triggers either report symptom and documenting or fixing the cause with a regression check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100