Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/nodes/Table/Table.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,11 @@ export default Table.extend({
},

renderHTML({ HTMLAttributes }) {
return ['table', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0]
return [
'div',
{ class: 'table-wrapper', style: 'overflow-x: auto;' },
['table', mergeAttributes(this.options.HTMLAttributes, HTMLAttributes), 0],
]
},

toMarkdown(state, node) {
Expand Down