mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2026-01-07 00:36:08 +08:00
Fix merging tables in TinyMCE [SCI-7697]
This commit is contained in:
parent
80eb1639bc
commit
14c6c67a1a
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