pip install django-balloon-block-editor
- In
settings.py
, addballoon_block_editor
toINSTALLED_APPS
- In
urls.py
, addpath('balloon-block-editor/', include('balloon_block_editor.urls'))
to yoururlpatterns
In models.py
:
from balloon_block_editor.fields import BalloonBlockEditorField
from django.db import models
class Test(models.Model):
content = BalloonBlockEditorField()