Description of the need Make it easier for new users to figure out how to edit the styles menu option in CKEditor.
I just spent a few hours trying to figure out how to get this to work. In the end, my problem was silly human error in that I was trying to get an h1 style to work while h1 were not listed as part of the allowed HTML tags for that text format. But, having default styles available at the start, would have made it much easier for me to see that they were working and to have debugged my problem. Having no styles available left me with the impression that the feature might be broken and discouraged me from even trying to find the problem.
Not having any default styles to start with seems very counter-intuitive to me.
Here is an issue I opened while trying to figure this out: https://github.com/backdrop/backdrop-issues/issues/4232
Proposed solution
Provide some default styles
in styles list
for the Filtered HTML text format.
These could be added in the install profile to make the styles
menu useful out of the box, but mostly to demonstrate to new users how it works and make it easier for people to figure out how to edit them.
Just need to figure out what some sensible styles would be to provide by default. Keep in mind, that they styles menu is not even available by default. So these default styles would only be used or even visible if a user tried to add this option to their WYSIWYG menu.
Alternatives that have been considered Related issues (some of which might mitigate need for this): https://github.com/backdrop/backdrop-issues/issues/1520 https://github.com/backdrop/backdrop-issues/issues/2980
An alternative would be to include a "No styles configured" message under the styles menu in the WYSIWYG if the styles menu is enabled, but not configured.
Additional information
This is what you see in the WYSIWYG after adding the styles option to the toolbar (but before adding any custom styles).
Once you click on it, you get an empty box - this feels very broken.
Recent comments
Hello @NumerousHats, I agree with your assessment. I am looking into this situation right now. The root of this problem is that Backdrop CMS is implemented on top of a "stack" of...
Update Core and Theme via Web interface
I just installed a Backdrop CMS site with version 1.27.0. I then used the user interface to download and update Backdrop CMS to 1.30.0. After starting the update process, and on the...
1.30.0 update.php generates incorrect link
I believe my permissions are set up correctly, as I can install modules from the UI. But for whatever reason, I can't update them. I will, however, double check against that documentation.
Update Core and Theme via Web interface