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

Add Table Borders basic functionality #2146

Merged
merged 22 commits into from
Oct 19, 2023

Conversation

Andres-CT98
Copy link
Contributor

@Andres-CT98 Andres-CT98 commented Oct 13, 2023

Description:

Implement the ability to modify table borders.

Fix

  • Add Table border functions to modify and apply changes to table borders to selected cells.

The apply function takes the cell selection and applies the given operation accordingly. The border needs to be applied to the selected cells as well as adjacent ones (perimeter) which share the same border to ensure format visibility and persistence in situations such as copy.

  • Modified Demo site to Include Table Borders functionality: Buttons to set color, width, and style and apply it to selected cells.

Storage of the table border format is made as a state in MainPaneBaseState.

  • Add metadata to handle modified borders.

Any border modification will result in the whole cell being marked as modified.

Warnings and implications

  • Only the All Borders functionality is currently implemented

@Andres-CT98 Andres-CT98 marked this pull request as ready for review October 18, 2023 16:11
@Andres-CT98 Andres-CT98 merged commit 62b2afa into master Oct 19, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants