Skip to content

Commit

Permalink
TextEditorConfigFields: add elements <ol> and <ul> to choices
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Aug 2, 2022
1 parent 1baf556 commit bb716a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmsplugin_cascade/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def name(self):


class TextEditorConfigFields(models.Model):
ELEMENT_CHOICES = [(c, c) for c in ['p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'address', 'div', 'span']]
ELEMENT_CHOICES = [(c, c) for c in [
'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre', 'address', 'div', 'span', 'ol', 'ul']
]

name = models.CharField(
_("Name"),
Expand Down

0 comments on commit bb716a0

Please sign in to comment.