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.

#113844 The type attribute is unnecessary for JavaScript resources.

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 StefanJ on Saturday, 27 May 2023 15:37 BST

StefanJ
Hi,

When adding javascript in the editor without the script type="text/javascript", it's back after saving.
The type attribute is unnecessary for JavaScript resources.

I can't find the settings for this behaviour.
Is there an option or setting for this?

Ryan
Please try JCE Pro 2.9.38 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.

StefanJ
Hi Ryan,

Great! It's working.

Thnx