You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to add some icons from FontAwesome in my Flask project, it's working, great.
The problem is I use too flask-simplemde in this project.
Both are not friends.
I think simple-mde retrieve icons from FontAwesome and some are not showing up..
This is happening only when I add the <script> tag for FontAwesome in my template file.
Thank you for help !
The text was updated successfully, but these errors were encountered:
JS_LOAD_WITH_ID = """<script>
var simplemde = new SimpleMDE({
autoDownloadFontAwesome: undefined,
element: document.getElementById("%s")
});
</script>
"""
JS_LOAD_WITH_ID_IIFE = """<script>
(function () {
var simplemde = new SimpleMDE({
autoDownloadFontAwesome: undefined,
element: document.getElementById("%s")
});
})();
</script>
"""
It's only supposed to download font awesome if it's not already there.
It's not working for this option but for another it works like the toolbar: false which hides the toolbar.
I don't understand why autoDownloadFontAwesome option isn't working 🤔
Hi,
I try to add some icons from FontAwesome in my Flask project, it's working, great.
The problem is I use too flask-simplemde in this project.
Both are not friends.
I think simple-mde retrieve icons from FontAwesome and some are not showing up..
This is happening only when I add the
<script>
tag for FontAwesome in my template file.Thank you for help !
The text was updated successfully, but these errors were encountered: