Tradeshift / tradeshift-ui

The Tradeshift UI Library & Framework
https://ui.tradeshift.com
Other
33 stars 45 forks source link

[Table] Add opportunity to disable/enable markdown support #964

Closed irinaklimova closed 4 years ago

irinaklimova commented 4 years ago

Is your feature request related to a problem? Please describe. For now we have markdown by default in tables (https://ui.tradeshift.com/v12/#components/table/formatting.html), but for some cases we need to display text without markdown (for example, product names).

Снимок экрана 2020-10-09 в 173004 Снимок экрана 2020-10-09 в 173022

Describe the solution you'd like It can be new method for togging markdown support in selected table.

ehats commented 4 years ago

Piggybacking on this to say that this has led to multiple security issues so far and having to manually escape markdown everywhere just doesn't work very well.

Ideally markdown support should be an opt-in feature, although I do realise that that would be a breaking change. Still, please consider that for future components