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.

#107121 button "onclick" lost when switch from code to editor mode

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 archives2 on Saturday, 13 March 2021 16:41 GMT

archives2
Created a button with following code

<button onclick="rmoreFunction()" id="rmoreBtn">Read more</button>
Switched to editor mode. When return to code, statement has been modified to:".

<p><button id="rmoreBtn">Read more</button></p>
It's a valid statement. Using latest JCE (pkg_jce_pro_294-beta)

Attachments

Ryan
Please see - https://www.joomlacontenteditor.net/support/faq/editor/event-attributes-removed

Ryan Demmer

Lead Developer / CEO / CTO

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

archives2
Thanks. That worked.