Do you plan to support card template like Anki? Also, Custom JS for any deck would be great.
I don't know if it is possible, I just suggest that you may take a look at TinyMCE,I'd love the ability to have a HTML editor like that.
Anyway, great work =)!