Skip to main content

flask-wysiwyg provides custom form fields to render wysiwyg editor instead of regular textareas. It takes care of cleaning html for you too. With its super secure defaults you do not want to modified it's whitelisting rules.

Project description

flask-wysiwyg provides custom form fields to render wysiwyg editor instead of regular textareas. It takes care of cleaning html for you too. With its super secure defaults you do not want to modified it’s whitelisting rules.

how to use? from flask-wysiwyg import WysiwygField

class InfoForm(Form):
title=StringField(‘Title’,validators=[Required(), Length(1, 64)]) body=WysiwygField(“txteditor”,validators=[Required()])

use “WysiwygField” field.

Don’t forget the download the bootstrap-wysiwyg.add the css and javascrpts.

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
flask-wysiwyg-0.1.zip (4.7 kB) Copy SHA256 hash SHA256 Source None Jul 8, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page