Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to center text within table cell #1134

Open
adrianagarcia1989 opened this issue May 9, 2024 · 2 comments
Open

Unable to center text within table cell #1134

adrianagarcia1989 opened this issue May 9, 2024 · 2 comments

Comments

@adrianagarcia1989
Copy link

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.

@xdan
Copy link
Owner

xdan commented May 10, 2024

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

@adrianagarcia1989
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants