mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-09 22:04:48 +00:00
Merge pull request #404 from helio-correia/wysiwyg-quill
Modify javascript to also consider the div for using wysiwyg like Quill
This commit is contained in:
commit
74e3f66ff4
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