mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Merge pull request #4825 from artoscinote/ma_SCI_7697
Fix merging tables in TinyMCE [SCI-7697]
This commit is contained in:
commit
12ec63c576
|
@ -151,7 +151,9 @@
|
|||
},
|
||||
wrapTables() {
|
||||
this.$nextTick(() => {
|
||||
$(this.$el).find('.tinymce-view table').css('float', 'none').wrapAll('<div style="overflow: auto"></div>');
|
||||
$(this.$el).find('.tinymce-view table').toArray().forEach((table) => {
|
||||
$(table).css('float', 'none').wrapAll('<div style="overflow: auto"></div>');
|
||||
})
|
||||
});
|
||||
},
|
||||
initCharacterCount() {
|
||||
|
|
Loading…
Reference in a new issue