nhn / tui.editor

🍞📝 Markdown WYSIWYG Editor. GFM Standard + Chart & UML Extensible.
http://ui.toast.com/tui-editor
MIT License
16.91k stars 1.71k forks source link

Allow dompurify 3 #3212

Open kabachello opened 6 months ago

kabachello commented 6 months ago

Version

3.2.2

Development Environment

npm

Current Behavior

The npm package @toast-ui/editor currently requires dompurify < 3.0.0. Does Version 3 have any incompatibilities? If not. would it be possible to allow it?

{
"dependencies": {
    "dompurify": "^2.3.3",
    "prosemirror-commands": "^1.1.9",
    "prosemirror-history": "^1.1.3",
    "prosemirror-inputrules": "^1.1.3",
    "prosemirror-keymap": "^1.1.4",
    "prosemirror-model": "^1.14.1",
    "prosemirror-state": "^1.3.4",
    "prosemirror-view": "^1.18.7"
  }
}

Expected Behavior

Allow dompurify v3: e.g. via "dompurify": "^2.3.3||^3.0.1"