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 Online

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

#109787 Adding styles not possible

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 Ryan on Friday, 14 January 2022 14:44 GMT

Rixters
Hi Ryan,

In the latest version of the editor the assignment of classes is not possible, In previous versions you could select a class and it was added by clicking next to the dropdown. But this doesn't work anymore. Only when a class is manually added to the code, I'm able to add more classes.

In the zip there is an animated gif to show the problem.

Thanks in advance.

Attachments

jce-class-bug.zip

Ryan
Unless I've misunderstood you, this is working fine in my tests on the demo site - https://demo.joomlacontenteditor.net

Ryan Demmer

Lead Developer / CEO / CTO

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

Rixters
I found the problem! The styles work in the articles but not in a repeatable field in a module in which the editor is added. Then you get the behavior explained in the initial post.

Attachments

Rixters
FYI: In 2.9.18-beta2 the style in the repeatable module fields still worked.

Ryan
I can't reproduce this in a standard editor repeatable field.

but not in a repeatable field in a module in which the editor is added


I this a Custom HTML module or something specific to an installed extension?

Ryan Demmer

Lead Developer / CEO / CTO

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

Rixters
I found the problem! It is not specific to the editor field in a module.

How to reproduce the issue:
1. Go to "Editor Profiles" and select "Default profile"
2. Open the Plugin Parameters tab and go to the "Style Select" option
3. in "Styles List Options" disable "Editor / Profile Stylesheets" and enable "Custom Styles"
4. Add some classes to the "Custom Classes" field and save the settings
5. Got to an article and try to apply the classes. The classes will not be added to the selected text. Behavior is visible in the animated gif in the first post.

Hope you are able to reproduce the issue.

For now I switched of the custom classes and the styles work again.


Attachments

Ryan
Please try JCE Pro 2.9.19 Beta 2 - 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.

QBParis
I'm having the same problem, even after installing the JCE Pro 2.9.19 Beta 2 version.

Ryan
@QBParis# - This is working in my tests with the latest 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.