diff --git a/djangocms_frontend/contrib/icon/cms_plugins.py b/djangocms_frontend/contrib/icon/cms_plugins.py index a5691340..d7be2ed4 100644 --- a/djangocms_frontend/contrib/icon/cms_plugins.py +++ b/djangocms_frontend/contrib/icon/cms_plugins.py @@ -31,7 +31,15 @@ class IconPlugin( model = models.Icon form = forms.IconForm text_enabled = True - + text_icon = ( + '' + ) fieldsets = [ ( None, diff --git a/djangocms_frontend/contrib/image/cms_plugins.py b/djangocms_frontend/contrib/image/cms_plugins.py index 6ba1ef34..2ec38047 100644 --- a/djangocms_frontend/contrib/image/cms_plugins.py +++ b/djangocms_frontend/contrib/image/cms_plugins.py @@ -34,6 +34,13 @@ class ImagePlugin( form = forms.ImageForm text_enabled = True + text_icon = ( + '' + '' + ) change_form_template = "djangocms_frontend/admin/image.html" diff --git a/djangocms_frontend/contrib/link/cms_plugins.py b/djangocms_frontend/contrib/link/cms_plugins.py index 77b086c5..9e36e9b9 100644 --- a/djangocms_frontend/contrib/link/cms_plugins.py +++ b/djangocms_frontend/contrib/link/cms_plugins.py @@ -100,6 +100,13 @@ class LinkPlugin( form = forms.LinkForm change_form_template = "djangocms_frontend/admin/link.html" text_enabled = True + text_icon = ( + '' + ) allow_children = True fieldsets = UILINK_FIELDSET diff --git a/djangocms_frontend/contrib/link/forms.py b/djangocms_frontend/contrib/link/forms.py index 96780078..7a464cec 100644 --- a/djangocms_frontend/contrib/link/forms.py +++ b/djangocms_frontend/contrib/link/forms.py @@ -224,7 +224,7 @@ def __init__(self, *args, **kwargs): def get_choices(self): if MINIMUM_INPUT_LENGTH == 0: return get_choices(self.request) - if not self.is_bound: # find inital value + if not self.is_bound: # find initial value int_link_field = self.fields["internal_link"] initial = self.get_initial_for_field(int_link_field, "internal_link") if initial: # Initial set?