-
Notifications
You must be signed in to change notification settings - Fork 344
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
Comments
Hmm, maybe you have text-align: left !important somewhere? |
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
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](https://private-user-images.githubusercontent.com/122043917/329321440-2a55d108-f71c-41e5-8bfe-0e90c9e59b86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI5Njk4MDAsIm5iZiI6MTcyMjk2OTUwMCwicGF0aCI6Ii8xMjIwNDM5MTcvMzI5MzIxNDQwLTJhNTVkMTA4LWY3MWMtNDFlNS04YmZlLTBlOTBjOWU1OWI4Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODA2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgwNlQxODM4MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yMThiMzlhZjNlMTYxZDcyNWViZjQ5NzMzMDBmZmIwMmRmZGZlZGQxMTcyYTQ1MGVmYzI2ZDIzZDViZmIwNmUyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.FY6zH4o07wmi4EiGQeqtAqinAh_RIaJR17SDR0DFIqM)
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.
The text was updated successfully, but these errors were encountered: