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

IBX-8342: Fixed creating tables in Online Editor #168

Merged
merged 5 commits into from
Jul 26, 2024

Conversation

lionelakpagni
Copy link
Contributor

🎫 Issue IBX-8342

Description:

Fix issue IBX8342 issue on table in rich text

For QA:

Documentation:

@lionelakpagni lionelakpagni requested review from lucasOsti and a team June 11, 2024 07:22
@lionelakpagni lionelakpagni added Bug Something isn't working Ready for review labels Jun 11, 2024
@alongosz alongosz changed the title Fix issue IBX-8342 issue on table in rich text IBX-8342: Fixed creating tables in Online Editor Jun 11, 2024
@@ -154,11 +154,6 @@
}

.ck-toolbar__items {
.ck-button {
padding: calculateRem(8px);
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe this will change the look of all buttons in the toolbar, I don't think we want to change the design here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dew326 Hi :) Could please be more precise? How should the design be ? This toolbar is customisable, new buttons can be added on the fly
See image. Thx
image

Copy link
Contributor

@dew326 dew326 Jun 12, 2024

Choose a reason for hiding this comment

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

Yeah, screenshot shows exactly what I meant. The spaces between buttons are smaller after the change.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this ok ?
image
If so check PR update

Copy link
Contributor

Choose a reason for hiding this comment

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

There is no space between table button and the line on the right.
And margin will probably make that space is not clickable, padding is better because the click area is bigger.

Copy link
Contributor

Choose a reason for hiding this comment

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

                .ck-button {
                    padding: calculateRem(8px);
                    margin: 0;

                    &.ck-insert-table-dropdown-grid-box {
                        padding: 0;
                        margin: var(--ck-insert-table-dropdown-box-margin);
                    }
                }

I think this should do the trick to keep current styling of toolbar and fix the table grid.

@mateuszbieniek mateuszbieniek requested a review from dew326 June 18, 2024 13:19
Copy link
Contributor

@dew326 dew326 left a comment

Choose a reason for hiding this comment

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

Zrzut ekranu 2024-06-19 o 07 43 05
and now we are back to wrong buttons size

@lionelakpagni lionelakpagni requested a review from dew326 June 19, 2024 14:10
@@ -154,11 +154,6 @@
}

.ck-toolbar__items {
.ck-button {
padding: calculateRem(8px);
Copy link
Contributor

Choose a reason for hiding this comment

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

                .ck-button {
                    padding: calculateRem(8px);
                    margin: 0;

                    &.ck-insert-table-dropdown-grid-box {
                        padding: 0;
                        margin: var(--ck-insert-table-dropdown-box-margin);
                    }
                }

I think this should do the trick to keep current styling of toolbar and fix the table grid.

Copy link

padding: 0;
margin: var(--ck-insert-table-dropdown-box-margin);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
}
}

@dew326 dew326 requested review from GrabowskiM and tischsoic July 1, 2024 07:21
@lionelakpagni lionelakpagni force-pushed the fix_table_creation_IBX-8342 branch from bcc64f1 to a7d8d55 Compare July 24, 2024 13:50
Copy link

@dew326 dew326 merged commit 87d01b8 into 4.6 Jul 26, 2024
21 checks passed
@dew326 dew326 deleted the fix_table_creation_IBX-8342 branch July 26, 2024 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants