Recently Browsing 0 members
No registered users viewing this page.
A few usability tweaks and tips for the CKEditor "Styles" dropdown, which is by default not that user-friendly:
As you can see it's small and if you add custom items to it they may look awkward as they may inherit styles from their targets (a 3rem bottom margin in the screenshot above).
These are relatively easy to fix but you have to load your custom CSS files to two places (eg. with AdminOnSteroids): PW admin and CKEditor.
After loading the CSS/Js assets (see code below) the dropdown looks nicer and more usable:
The screencap contains other features that you can achieve with the snippets below.
CSS - CKEditor (contains demo styles too)
CSS - admin
P.s. in case you wonder whether the half-margin, no-margin stuff and font-sizes from 12px to 48px were real-life examples - yes, client request 🙂
I'm wondering if it is possible to add a label to the description input in image fields (in the admin).
I'm using the module Image Extra, which has labels for each input, but I'd like to add a label to the default 'description' input too. The image below illustrates this:
If there is no way (no hook?) then, I suppose I could just not use the default description and add a new description input with the Image Extra module. But I thought I'd ask in case I (or others) ever want to do this without using the module (i.e. just the one input required).
I'm using PW 3.0.98
FYI: yes, that is a cat and not a quilt -- this is on my local dev server and I don't have the actual photos yet! She is on a quilt, so it counts... technically.