Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miohtama/deform_prosemirror

ProseMirror widget for Python Deform web form library
https://github.com/miohtama/deform_prosemirror

Last synced: 23 days ago
JSON representation

ProseMirror widget for Python Deform web form library

Awesome Lists containing this project

README

        

.. contents::

Introduction
============

This package provides ProseMirror rich text widget for `Deform forms `_.

.. image:: screenshot.png
:width: 500

About ProseMirror
=================

`ProseMirror `_ is an advanced rich text editor for web browsers featuring sane architecture, Markdown WYSIWYG editing and real time collaboration.

Demo
====

Run demo locally::

git clone [email protected]:miohtama/deform_prosemirror.git
virtualenv venv
source venv/bin/activate
pip install -e .
pserve development.ini --reload

Usage
=====

* Your view must extract widget JS and CSS assets from Deform form

* Your base template must insert JS and CSS assets to the ````. Please note that there is a limitation that Deform executes ```` tags in ``<body>``.

Rebuilding JavaScript bundle
============================

Install NPM and Node. Then::

./build-js.bash

This will generate ``deform_prosemirror/static/prosemirror-bundle.js``. ``npm`` cries a bit, but it's totally ok.