Tui.editor: Add ability to customize allowed attributes

Created on 13 Jun 2019  ·  2Comments  ·  Source: nhn/tui.editor

Current Behavior

There is a fixed list of allowed attributes in htmlSanitezer. I need this because I need to convert all tags to custom web component based tags with attributes. Changing tags is not a problem, but I cannot add my attributes as it's being stripped.

Expected Behavior

Allow set/add allowed attributes.

This issue I think is kinda related, an adjustable list would solve this problem too imo:
https://github.com/nhn/tui.editor/issues/417

UPDATE:
I've checked out and added my own attributes to the regex, seems like everything's fine.

Need Discussion inactive

All 2 comments

This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!

This issue will be closed due to inactivity. Thanks for your contribution!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Gilles-GitHub picture Gilles-GitHub  ·  4Comments

koliyo picture koliyo  ·  4Comments

Yeongjae-Shin picture Yeongjae-Shin  ·  3Comments

aarangara picture aarangara  ·  3Comments

nilhave picture nilhave  ·  3Comments