tl-its-umich-edu / canvas-app-explorer

A Web application that presents a list of Canvas external (LTI) tools with details. When integrated within Canvas, the user can search for specific LTI tool(s), and add or remove those tools from Canvas courses.
Apache License 2.0
4 stars 6 forks source link

TinyMCE causes Text on Cards to become HTML code #105

Closed danie1zhang closed 2 years ago

danie1zhang commented 2 years ago

image

jonespm commented 2 years ago

Looks like this might be relevant. https://stackoverflow.com/questions/27934238/rendering-raw-html-with-reactjs

Seems like you have to dangerouslySetInnerHTML to get it to render raw HTML. Looking into replacing the code with this since this is all from a trusted source.