TextEditorConfigFields: add elements <ol> and <ul> to choices
@@ -191,7 +191,9 @@ class PluginExtraFields(models.Model):
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"),
