Fanstatic packaging of wysihtml5
This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.wysihtml5) are published to some URL.
How to use?
You can import simple_wysihtml5 from js.wysihtml5 and need it where you want these resources to be included on a page:
>>> from js.wysihtml5 import simple_wysihtml5 >>> simple_wysihtml5.need()
Alternatively you can import advanced_wysihtml5 if you want to use more advanced parser rules:
>>> from js.wysihtml5 import advanced_wysihtml5 >>> advanced_wysihtml5.need()
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.