Skip to content

froala/wysiwyg-editor-python-sdk

Repository files navigation

Froala WYSIWYG Editor Python SDK

Easing the Froala WYSIWYG HTML Editor server side integration in Python 2 and Python 3 projects.

Dependencies

Python 2 or Python 3

Wand ImageMagick binding for Python

Installation

  1. Clone this repo or download the zip.

  2. Load froala_editor project directory in your project and import it.

  3. To run Django examples:

  • Go to django_examples directory.
  • $ python manage.py runserver or $ python3 manage.py runserver to start a server at http://localhost:8000/.
  1. To run Flask examples:
  • Go to flask_examples directory.
  • $ export FLASK_APP=server.py
  • $ python -m flask run or $ python3 -m flask run to start a server at http://localhost:5000/.
  1. To run Pyramid examples:
  • Go to pyramid_examples directory.
  • $ python server.py or $ python3 server.py to start a server at http://localhost:7000/.

Import lib

from froala_editor import File, Image, S3

from froala_editor import DjangoAdapter, FlaskAdapter, PyramidAdapter
# Or make a custom adapter for your framework.

Documentation

Help

License

The Froala WYSIWYG Editor Python SDK is licensed under MIT license. However, in order to use Froala WYSIWYG HTML Editor plugin you should purchase a license for it.

Froala Editor has 3 different licenses for commercial use. For details please see License Agreement.