mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-07 06:56:18 +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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue