Ability to add table caption #4921
Replies: 3 comments 1 reply
|
We need this basic table feature as well. Looking for the ability to produce standard HTML table captions like: |
|
We need this feature as well to pass WCAG Audits of our tables. |
|
I'm currently using a terribly hacky workaround: In the TT editor I allow the user to create a <blockquote> with class "table-caption" (because BQ is the only container element that works here) in the first row, inside which they can have only H2/3 or P tags. Then in my Umbraco-powered JSON I look for this blockquote and extract its content into a <caption> tag before serving HTML to the browser. (One could also do this with client-side JS after serving but I wouldn't advise it.) We really shouldn't have to dig around to make workarounds for basic semantic HTML in an HTML editor! -- while also polluting our CMS source HTML. |
Uh oh!
There was an error while loading. Please reload this page.
Description
Wold be good to have field in editor.chain().focus().insertTable - caption
Use Case
I want to use this feature to creating captions for table
Type
New extension
All reactions