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.

#117092 Code indentation

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 Wednesday, 26 February 2025 11:14 GMT

neoman

Hi,

since the last update to version 2.9.83 the code indentation is missing in the source code editor. I can switch on the code indentation via the format button, but this state is not recognized. If I open an article again, the code indentation is missing again.
Is this a bug?

Best regards
Ron

Ryan

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

Clear your browser cache after install.

In the Code Editor parametes, set the Format HTML option to No, then save the profile. Go back to the Code Editor parameters and set Format HTML to Yes and save.

Ryan Demmer

Lead Developer / CEO / CTO

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

neoman

That looks good, the error seems to have been fixed. The code is indented again.

Lobo

Hi there!i was having the same problem, and the fix worked thanks!

but it is strange, i am using the same versions on another project (joomla 5.2.4 and JCE Pro 2983) and it is working fine with the indents...any idea why?

Ryan

but it is strange, i am using the same versions on another project (joomla 5.2.4 and JCE Pro 2983) and it is working fine with the indents...any idea why?

The Format HTML button (or "Code Indent") will still work in JCE Pro 2.9.83 when clicked. The issue that is now resolved is that setting the default state in the Code Editor parameters was not applied, and when clicking the button the state was not "remembered" when switching between the Editor and Code tabs.

Ryan Demmer

Lead Developer / CEO / CTO

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