-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Implement table styles (alignment) like image styles #3225
Comments
Just to make it more visible: NOTE: Starting from 2020 Q2 it will be possible to align tables by using the table styles panel. See the note in the first post in this thread. |
@Mgsy, we're not going to work on this. The feature that we're working on in table styles is separate from this. |
It'd be good to review the conflict that arose in the image feature between resize and image styles: https://ckeditor.com/docs/ckeditor5/latest/features/image.html#image-styles. The same conflict will cause our headache in the case of tables. If we want to change something in case of images, it'd be good to make that change before touching tables. |
Media styles (alignment) is tracked in #2781. |
DUP reported: #10289. |
I completely agree that most of the table styles, like colors and widths, should be inline. But I think alignment should be based on classes, as you have multiple CSS properties (float, margin-left/-right) that need to be changed to get it to look good. Float alone doesn't cut it. |
The table feature lacks defining table styles similar to the Image style plugin.
The alignment of table cells is a separate feature: #3218.
NOTE: Starting from 2020 Q2 it is possible to align tables by using the table styles panel. This option will work differently than predefined image styles mentioned in this ticket – table styles will be based on inline CSS styles, while image styles use predefined classes (more semantical approach). The semantic approach can still be applied to tables one day, though, so this ticket still makes sense.
If you'd like to see this feature implemented, add 👍 to this post.
The text was updated successfully, but these errors were encountered: