You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 30, 2020. It is now read-only.
When using the following form in an admin class, neither html or css ace editors are rendered correctly:
Class PageAdminForm(models.ModelForm):
html = forms.CharField(widget=ace_editor.CodeEditorWidget(mode='html'))
css = forms.CharField(widget=ace_editor.CodeEditorWidget(mode='css'))
class Meta(object):
model = Page
In the above example, the ace editor is rendered for html, but does not correctly show the content, and the editor for css is broken but with content displayed. If I remove one of these, then the remaining widget is correctly shown.
When using the following form in an admin class, neither html or css ace editors are rendered correctly:
In the above example, the ace editor is rendered for html, but does not correctly show the content, and the editor for css is broken but with content displayed. If I remove one of these, then the remaining widget is correctly shown.