jodit icon indicating copy to clipboard operation
jodit copied to clipboard

Unable to center text within table cell

Open adrianagarcia1989 opened this issue 9 months ago • 2 comments

When text is selected within a table cell it is difficult to align selected text by itself. Instead, the text-align attribute is applied to the entire cell. Jodit Version: 4

Browser: All OS: All Is React App: True

Code image

Expected behavior: Text-align should be applied to the selected text within table cell. (In my case I was trying to center the paragraph tag titled "Body Subtitle")

Actual behavior: Text-align is applied to entire cell.

adrianagarcia1989 avatar May 09 '24 16:05 adrianagarcia1989

Hmm, maybe you have text-align: left !important somewhere?

xdan avatar May 10 '24 12:05 xdan

I looked but it doesn't look like we have any text-align: left !important

adrianagarcia1989 avatar May 29 '24 19:05 adrianagarcia1989