Simplemde-markdown-editor: Style Tags have global site implications

Created on 18 Feb 2016  路  2Comments  路  Source: sparksuite/simplemde-markdown-editor

style tags like the following get evaluated after previewing:
<style type="text/css"> * { background: yellow; } </style>

20160218113708-simplemde_ embeddable javascript markdown editor

bug

Most helpful comment

Not sure if there's a great fix to this. The only thing I can think of would be to render the preview inside an iframe tag.

All 2 comments

Not sure if there's a great fix to this. The only thing I can think of would be to render the preview inside an iframe tag.

Please render inside an iframe! Or at least give the option to. I'm having trouble using this editor within a framework because of inherited CSS styles when previewing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xJoeyv picture xJoeyv  路  3Comments

abr4xas picture abr4xas  路  3Comments

jasonlewis picture jasonlewis  路  4Comments

prologic picture prologic  路  3Comments

pranavstark picture pranavstark  路  3Comments