Tiptap: Table Resize should apply style width

Created on 31 May 2019  路  3Comments  路  Source: ueberdosis/tiptap

Describe the bug
Tables currently apply a parameter to the HTML tag as follows: <td data-colwidth="237">

Table resizing should also be applying the width property to the standard style tag such that exported data can be better handled externally.

bug

All 3 comments

tiptap uses ProseMirror/prosemirror-tables and therefore the column resizing is also handled by it.

So in order to achive what you want you have to extend/overwrite the table_cell Schema to do what you want.

Thanks @Chrissi2812. Will make the change real quick and post back here for the community should someone stumble upon the thread.

Since this is related to ProseMirror/prosemirror-tables I can't do anything here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leandromatos picture leandromatos  路  4Comments

glavdir picture glavdir  路  3Comments

ageeye-cn picture ageeye-cn  路  3Comments

connecteev picture connecteev  路  3Comments

pk-pressf1 picture pk-pressf1  路  3Comments