forked from expo/troggle
Refactorising CodeMirror HTML editor, with an ultimate aim to make it reusable. However more work if required...
This commit is contained in:
@@ -130,3 +130,6 @@ class NewWebImageForm(forms.Form):
|
||||
if full_path.exists():
|
||||
raise forms.ValidationError("File already exists in %s" % rel_path)
|
||||
return self.cleaned_data['file_']
|
||||
|
||||
class HTMLarea(forms.Textarea):
|
||||
template_name = "widgets/HTMLarea.html"
|
||||
|
||||
Reference in New Issue
Block a user