Tencent / Tencent/cherry-markdown

[Bug Report] 使用drawio,控制台报错: mxClient.js:1782 mxCodec.getConstructor: html not allowed in mxCodec.allowlist

Open
#663 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.