Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harrislapiroff/wagtail-megadraft
A very nice rich content editor for Wagtail (⚠️ IN DEVELOPMENT)
https://github.com/harrislapiroff/wagtail-megadraft
Last synced: 1 day ago
JSON representation
A very nice rich content editor for Wagtail (⚠️ IN DEVELOPMENT)
- Host: GitHub
- URL: https://github.com/harrislapiroff/wagtail-megadraft
- Owner: harrislapiroff
- Created: 2019-08-22T16:42:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T19:29:13.000Z (almost 2 years ago)
- Last Synced: 2024-11-25T12:44:18.898Z (2 months ago)
- Language: JavaScript
- Homepage:
- Size: 569 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=================
Wagtail Megadraft
=================A very nice rich content editor.
Generate static files:
======================.. code-block:: bash
npm install # install npm dependencies (must do first)
npm run build # build prod quality files once OR
npm run start # watch files for changes and rebuild devtool compatible filesUsage
=====Add ``'wagtailmegadraft'`` to ``INSTALLED_APPS`` in your settings.
.. code-block:: python
from wagtail.core.models import Page
from wagtail.admin.edit_handlers import FieldPanel
from wagtailmegadraft.fields import MegadraftFieldclass MyPage(Page):
content = MegadraftField(
blank=True,
null=True,
)content_panels = Page.content_panels + [
# Megadraft field doesn't need a special panel
FieldPanel('content'),
]