Problem/Motivation
wxt_bootstrap's ckeditor5.css file creates layout issues with the styles dropdown of the editor. Adding a minimum height of 250px pushing the "preview" portion outside of the box.
Steps to reproduce
Enable CKEditor5,
Add any number of Styles on the Text Format
Create new node and open the Styles Dropdown of the editor.
Proposed resolution
Change the min-height to apply only the main container for the CKEditor, I assume this was done as without a min height the editor opens with the editable region very small. I've attached a patch with the proposed change. I'm not sure if this issue should have been added to the wxt_bootstrap project issue queue, please let me know if I should submit it there.
User interface changes
CSS Adjustment to target .ck-editor__main class as a parent.
| Comment | File | Size | Author |
|---|---|---|---|
| ckeditor5-min-height-specificity.patch | 279 bytes | theduke13 |
Comments
Comment #2
smulvih2@theduke13 this is the correct issue queue to use, and you tagged it with wxt_bootstrap so that's perfect! Good catch, thanks for fixing this!
Comment #3
sylus commentedThank you so much for this fix!
Committed and attributed :)