mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-09 22:04:48 +00:00
Modify javascript to also consider the div for using wysiwyg like Quill
This commit is contained in:
parent
85e26e3842
commit
4b07119c30
1 changed files with 1 additions and 1 deletions
|
|
@ -392,7 +392,7 @@ var google, django, gettext;
|
|||
// Group normal fields and fields in (existing) stacked inlines
|
||||
var grouper = new TranslationFieldGrouper({
|
||||
$fields: $('.mt').filter(
|
||||
'input:visible, textarea:visible, select:visible, iframe').filter(':parents(.tabular)')
|
||||
'input:visible, textarea:visible, select:visible, iframe, div').filter(':parents(.tabular)')
|
||||
});
|
||||
MainSwitch.init(grouper.groupedTranslations, createTabs(grouper.groupedTranslations));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue