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.

#117479 JCE on custom input not retaining data unless I select Code tab

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 Thursday, 27 November 2025 10:04 GMT

erycweb

Hi - I'm experiencing a weird issue with an implementation of JCE on our custom Joomla component that's been working ok for some time. I thought this was only happening on a local Docker instance of the site but it's now happening for me on the live site.

I open up the edit form view for my component and use JS to assign JCE to a textarea with the class wef-editor. That's all fine and JCE is appearing as expected, with any existing content appearing in the editor. However, if I try to edit those contents and save, when the page reloads the edits haven't saved. The only way I can get it to save is if I select the Code tab in JCE first.

Any suggestions?

This is on Joomla 5.4.0 with the most recent version of JCE.

Ryan

Are you initialising the editor using the Joomla Editor API or are you loading the editor assets manually?

Ryan Demmer

Lead Developer / CEO / CTO

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

erycweb

I'm doing it manually. Textareas with the class wf-editor are created and then JCE assigned to them with the following:

$('textarea.wf-editor').each(function() {
if ($(this).is(':visible') && typeof WfEditor !== 'undefined') {
WfEditor.create([this]);
}
});

erycweb

A bit more info - it looks as if the Chrome browser may be the issue. I switched to Safari and it worked fine. Same for Edge according to other people. I clear the browser cache regularly as well as Joomla's caches so I'm not sure what to look at next. 

erycweb

Looks like it was one of my Chrome extensions that was causing the issue. Should have done this before posting on here, but I've just turned them all off. retried and that got JCE working properly again.

I'll mark this one as resolved - thanks for your time.

Ryan

Thank you for the own-solve! 😀

Ryan Demmer

Lead Developer / CEO / CTO

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