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
fix: remove padding and background-color in page editor .cke_editable #99
Conversation
|
||
/* Page editor inline editor specific style for reseting backgorund color and padding | ||
*/ | ||
.page-editor__fragment-content .cke_editable { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Styles specific to page editor should be in the page editor module, not in this repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly, the idea is try to fix this as part of the general skin. If we can't because it's not a bug but an specific behavior that differs from what we want to provide with the skin, then yes, this should be in portal. That's what we need to analyze.
@mateomustapic It is a bit odd to me that the product team would like a different background and border than standard. The |
I agree that it makes sense to check with product team regarding a background colour (although I think this is required due to background of Hello World app and other pages), still I think the padding is off for all inline editors and it should be set to 0 in the skin. |
Hey guys, could you please have a conversation with @p2kmgcl about this? He's from Echo Team and the reporter of the issue. Each application has (relative) freedom to customize they're styling so if they want a different behavior is up to them. We must difference between:
Anyway, @p2kmgcl would you mind to add a more detailed description to the ticket with examples of how it should look and what is exactly not looking as you expect? |
Hey guys, This bug is only about Page Editor, not Web Content editing or anything else. As described in the ticket, it did have no border, background and padding, bug this changed last week. I opened this as a bug because we didn't need to add any extra CSS to customize, but I am not sure if we where specifying some configuration that made it look like that. This is the configuration that we are using:
I am going to update the JIRA ticket with some screenshots. |
hey @p2kmgcl thanks for this info. |
So, @mateomustapic @p2kmgcl do we agree that this is happening because page editor has a different behavior/styling than the rest of alloy editor instances in portal? If so, let's close this one and just add changes directly into |
That's ok for me |
Hey @carloslancha, @mateomustapic, not sure how the new skin is causing this since we're still using the old skin for AlloyEditor? Maybe we removed too much CSS when migrating the skin and should be placed back? It's one thing that CKEditor looks different, but AlloyEditor should've stayed the same in the process. There could be other usages of AlloyEditor in other places that should also remain unchanged, so I'd suggest investigating what changed and put it back, since this can't be a PageEditor only issue (even though we mostly only use it there) |
@jbalsas probably because we introduced a |
But AlloyEditor was using |
AFAIK AlloyEditor uses whatever the version of CKEditor is in portal, and in portal we have a version with moono-lexicon... At least that's what I found out with @julien some weeks ago 🤷 |
Keep digging in your memory, I know this is somewhere around there: LPS-116201 Use moono-lisa skin in frontend-editor-alloyeditor-web because you thanked @julien for it! :) |
This is a bug fix for https://issues.liferay.com/browse/LPS-117468
Reseting border and background styles for cke_editable css class in page editor.
The issue with overlay that is preventing unrelated UI interactions on the page should be fixed in #98
Steps to reproduce
Also, see below a video