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

Support for default table properties (CSS: .ck-content) #9555

Merged
merged 22 commits into from
Apr 29, 2021
Merged

Conversation

pomek
Copy link
Member

@pomek pomek commented Apr 23, 2021

Suggested merge commit message (convention)

Feature (table): Support for the default table properties. Read more about the feature in the documentation. Closes #8502. Closes #9219.

Fix (engine): The conversion upcast elementToAttribute() and attributeToAttribute() functions should not call the model.value() callback if the element will not be converted. Closes #9536.

MINOR BREAKING CHANGE (table): Clases TableAlignmentCommand, TableBackgroundColorCommand, TableBorderColorCommand, TableBorderStyleCommand, TableBorderWidthCommand, TableHeightCommand, TablePropertyCommand, TableWidthCommand requires the second argument called defaultValue which is the default value for the command.

MINOR BREAKING CHANGE (table): The TablePropertiesView class requires additional property in the object as the second constructor argument (options.defaultTableProperties).


Additional information

🧐

@pomek pomek requested a review from niegowski April 23, 2021 08:25
Copy link
Contributor

@niegowski niegowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Partial review - tests not verified.

packages/ckeditor5-table/docs/features/table.md Outdated Show resolved Hide resolved
packages/ckeditor5-table/docs/features/table.md Outdated Show resolved Hide resolved
packages/ckeditor5-table/docs/features/table.md Outdated Show resolved Hide resolved
@godai78 godai78 self-requested a review April 29, 2021 09:55
@pomek pomek merged commit efe5e57 into master Apr 29, 2021
@pomek pomek deleted the i/8502-ui branch April 29, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants