sablon icon indicating copy to clipboard operation
sablon copied to clipboard

Is it possible to specify the Word "Table Style" with an HTML <table>?

Open arvanasse opened this issue 3 years ago • 0 comments

My application allows users to work with markdown which I run through a processor to produce HTML and then insert into a document via an html block. One particular user is adding an HTML table. The results are okay -- it appears as an unstyled table within the document. Because this is user-generated content, it is impossible to predict when a table is present.

Is there any way to tell Sablon which Word Table Style should be used? By "Word Table Style", I am referring to this set of styles Word Table Design menu

It would be great to support this via CSS class(es) on the table. I'd also be glad to set a table property, but I do not know which one to set.

arvanasse avatar Dec 02 '21 02:12 arvanasse