diff --git a/app/javascript/vue/shared/tinymce.vue b/app/javascript/vue/shared/tinymce.vue index 10da108b0..117a77430 100644 --- a/app/javascript/vue/shared/tinymce.vue +++ b/app/javascript/vue/shared/tinymce.vue @@ -151,7 +151,9 @@ }, wrapTables() { this.$nextTick(() => { - $(this.$el).find('.tinymce-view table').css('float', 'none').wrapAll('
'); + $(this.$el).find('.tinymce-view table').toArray().forEach((table) => { + $(table).css('float', 'none').wrapAll(''); + }) }); }, initCharacterCount() {