You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#105320 Problems with Custom Styles

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Chacapamac on Monday, 31 January 2022 16:46 GMT

mberman14
I'm getting weird results with the plugin parameters for Style Select. When I create a custom style, and I put in:

font-weight: bold; font-family: times new roman,times,serif; font-size: 14pt;
and apply it to some text in the editor, the font-size parameter is ignored -- it just isn't added to the code in the article, but the rest is added. When I put in:

font-weight: bold;font-variant-caps: small-caps;font-family: times new roman,times,serif;color: #000000;text-shadow: 0px 0px 3px #FFFF00;
it drops the times, serif part. For awhile, it was ignoring the font-variant part until I move it after the font-weight, then it started working. Is there something I'm missing or doing wrong? Thanks, Matt

Engholm
I can confirm this issue: I've added a class .first-word for style serlect in -> Editor Profiles -> "Profile Name" -> Plugin Parameters -> Style Select https://www.pixeldiele.de/tmp/style-select-jce2817.png The .fist-word -class is some css placed in the template.css and editor.css:

.first-word {
    background-color: #11306E;
    color: #ffffff;
    padding: 1px 2px;
    text-transform: uppercase;
    font-family: 'Neue Helvetica W01', Helvetica, Arial, Sans-Serif, sans;
    letter-spacing: 1px;
    font-weight: 400;
}
The custom style with the style select dropdown works with JCE 2.8.15. After Update to JCE 2.8.17 it's still posible to select the style but the code isn't added to the editor field. Compress CSS, JS and Enforce Cache Validation is active.

Ryan
Please try JCE Pro 2.8.18 Beta 8 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Engholm
This works, thanks!

mberman14
Yes, seems to work for me too -- thanks!

Matt

mberman14
I've encountered another problem with custom styles. I've upgraded my site to Joomla 4.0.6 and JCE 2.9.19. I can create new custom styles, but once created, I can't edit them -- the arrow to open the style details seems to have disappeared.

Matt

Ryan
Please try JCE Pro 2.9.20 Beta - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

mberman14
That seems to have got it, thanks.

Matt

Chacapamac
For me this Beta versions didn’t fix my problem.

Most of my Custom Styles that was working perfectly until one of the last upgrade ( I will go with 2.9.19), now refuse to apply to clean unformatted text ?

I’m just in the construction of a very important website and now I cannot edit it...

I need to revert to a working version How, without loosing the tons of customization to the editor?

I try with 2 browser (Chrome & Firefox) and close everything & clear all caches
I also test in my localhost Mamp server with the beta 20 version and Live on my test server with 2.9.19
Try 2 versions of php 7.4.2 & 8.0.15

My custom styles don’t work anymore

Ryan
Most of my Custom Styles that was working perfectly until one of the last upgrade ( I will go with 2.9.19), now refuse to apply to clean unformatted text ?


What do these custom styles apply? Is it a class value or multiple formats?

Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Chacapamac
I just send my login — This is only a testing website for a website in construction.

Was working until lasts JCE updates.

This is an example of a style that don’t work anymore
Just add a class and transform in h2 -



You select plain text and choose the Style — The box with the style name and the x to remove it appear in the editor Style interface, but nothing is apply some at the bottom seem to work. Most of the most important (top) one don’t.

Attachments

Ryan
@Chacapamac# - I have fixed this on your site with an install of JCE Pro 2.9.20 Beta 3 - https://www.joomlacontenteditor.net/downloads/editor/pro/development

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Chacapamac
Just test locally

WORKING PERFECTLY ! — THANKS RYAN !