Skip to content

Commit

Permalink
Fixed Issue #19 :Add option for rich text editor to forms - some more…
Browse files Browse the repository at this point in the history
… updates
  • Loading branch information
Darkboy17 committed Feb 22, 2024
1 parent d458995 commit 01e3910
Show file tree
Hide file tree
Showing 10 changed files with 563 additions and 536 deletions.
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ sphinx-copybutton
sphinxcontrib-django
sphinxcontrib-httpdomain
sphinxcontrib-spelling
tinymce

-e .
3 changes: 1 addition & 2 deletions src/pretalx/event/models/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from django.utils.translation import gettext_lazy as _
from django_scopes import scopes_disabled
from i18nfield.fields import I18nCharField, I18nTextField
from tinymce.models import HTMLField as RichTextField

from pretalx.common.cache import ObjectRelatedCache
from pretalx.common.language import LANGUAGE_NAMES
Expand All @@ -25,8 +26,6 @@
from pretalx.common.urls import EventUrls
from pretalx.common.utils import daterange, path_with_hash

from tinymce.models import HTMLField as RichTextField

# Slugs need to start and end with an alphanumeric character,
# but may contain dashes and dots in between.
SLUG_CHARS = "a-zA-Z0-9.-"
Expand Down
Loading

0 comments on commit 01e3910

Please sign in to comment.