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

Styling issues in read-only mode. #44

Open
nbabb opened this issue Mar 14, 2023 · 1 comment
Open

Styling issues in read-only mode. #44

nbabb opened this issue Mar 14, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@nbabb
Copy link

nbabb commented Mar 14, 2023

I've had some luck styling the component using regular css. However when I use the component in read only mode, there is no css added to the component that detects this. As a result I am not able to condition styles that I added, to modify the components appearance in non read only mode, to not appear when the component is in readonly mode. The request is for a class, or some other css indicator, to be added to the vaadin-ckeditor when in read only mode.

As a more long-term goal, it'd be nice if the component used the typical vaadin styles approach (see https://github.com/vaadin/vaadin-themable-mixin).

Also some styling guidelines would be helpful in the documentation. I did just notice a classname is applied of ck-read-only but this is placed on a div within the component.

@eroself
Copy link
Collaborator

eroself commented Mar 15, 2023

Good point, I'll try to add this feature in future release. Cheers

@eroself eroself self-assigned this Mar 15, 2023
@eroself eroself added the enhancement New feature or request label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants