The headers and the first column all use plain textfields. I have a use case where I would like to have some of the text in one of those fields use italics.

Example of what I am trying to accomplish (and how it's not working):

Screenshot of the rendered Ultimate Table with HTML tags displayed.

However, this is not allowed in a plain textfield, and I have been unable to discover any way of overriding either the settings for those cells. I have also been unable to override the template for table.html.twig with any sort of specificity as there is nothing in the $variables that are sent to the preprocess or theme suggestion hooks to identify tables generated by this module versus other tables, or to identify this specific table versus other tables.

Any suggestions?

CommentFileSizeAuthor
Screenshot 2025-07-30 at 1.49.13 PM.png50.49 KBjesss
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jesss created an issue. See original summary.

b.khouy’s picture

Status: Active » Needs work
b.khouy’s picture

Hi @jesss,
Thanks for reporting this. We're planning to include this feature in the next release and are currently working on it.

b.khouy’s picture

Assigned: Unassigned » b.khouy
jesss’s picture

Excellent! It would also be great if images were allowed as well.

b.khouy changed the visibility of the branch 3538862-allow-basic-formatting to hidden.

b.khouy’s picture

Status: Needs work » Needs review
b.khouy’s picture

Title: Allow basic formatting in headers and first column » Enable the cell field plugin for both column headers and first-row cells, instead of restricting them to text inputs only
b.khouy’s picture

Status: Needs review » Reviewed & tested by the community

For projects running on Drupal 11, please update to version 2.0.0.

For projects running on Drupal 9 and Drupal 10, please update to version 1.1.0.

In both scenarios, you must run a database update: drush updb -y

b.khouy’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.