Skip to content

Commit eadd7b5

Browse files
committed
Explain why we override renderHTML
1 parent 1b1d23a commit eadd7b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/table.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export const Table = TiptapTable.extend({
3939
},
4040

4141
renderHTML({ HTMLAttributes }) {
42+
// We don't want the colgroup in our table therefore we override renderHTML
4243
const table = [
4344
"table",
4445
mergeAttributes(this.options.HTMLAttributes, HTMLAttributes),

0 commit comments

Comments
 (0)