Skip to content

Reducing CSS table selector specificity regarding margins. #18428

@pszczesniak

Description

@pszczesniak

📝 Provide a description of the improvement

Remove the HTML tag (figure and table) from this selector:

& figure.table:not(.layout-table),
& table.table:not(.layout-table) {
/* Give the table widget some air and center it horizontally */
/* The first value should be equal to --ck-spacing-large variable if used in the editor context
to avoid the content jumping (See https://github.com/ckeditor/ckeditor5/issues/9825). */
margin: 0.9em auto;
}

to match specificity that existed in editor version before v45.0.0.

📃 Other details

  • Browser: …
  • OS: …
  • CKEditor version: …
  • Installed CKEditor plugins: …

If you'd like to see this improvement implemented, add a 👍 reaction to this post.

Metadata

Metadata

Assignees

Labels

package:tablesquad:coreIssue to be handled by the Core team.support:1An issue reported by a commercially licensed client.type:improvementThis issue reports a possible enhancement of an existing feature.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions