File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,12 @@ class ProjectForm(forms.ModelForm):
3434 class Meta :
3535 model = Project
3636 fields = "__all__"
37+ widgets = {
38+ "name_en" : forms .Textarea (attrs = {"class" : "plain-textarea" }),
39+ "name_es" : forms .Textarea (attrs = {"class" : "plain-textarea" }),
40+ "name_fr" : forms .Textarea (attrs = {"class" : "plain-textarea" }),
41+ "name_ar" : forms .Textarea (attrs = {"class" : "plain-textarea" }),
42+ }
3743
3844
3945class ProjectImportForm (forms .Form ):
Original file line number Diff line number Diff line change 329329
330330# selector – exclude Geometry fields (bbox) and some plain textareas (see forms.py)
331331TINYMCE_DEFAULT_CONFIG = {
332- "selector" : "textarea:not(.vWKTField):not(.plain-textarea) " ,
332+ "selector" : "textarea.vLargeTextField " ,
333333 "entity_encoding" : "raw" ,
334334 "height" : 360 ,
335335 "width" : 1120 ,
You can’t perform that action at this time.
0 commit comments