DemocracyOS / democracyos

Democracia en Red is focusing on specific implementations of DemocracyOS. We are working now working with governments and activists all over Latin America. If you are interested in our online participation tools you can check them out on our site.
https://democraciaos.org/en/
GNU General Public License v3.0
1.77k stars 616 forks source link

[v3] Sanitize Draft.js? #1543

Closed florlafuente closed 6 years ago

florlafuente commented 6 years ago

Is there a way to sanitize Draft.js content? Search examples and libraries.

guillecro commented 6 years ago

As far as I know draft.js is "safe", it saves every paragraph as escaped JSON Objects. Besides there is nothing like "validation" or "sanitize" for draft.js in this list https://github.com/nikgraf/awesome-draft-js