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.

#107276 Code/Editor tab issue - code will be deleted

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 web4studio on Wednesday, 31 March 2021 13:17 BST

web4studio
Hi

Since the update from JCE 2.9.1 the editor deletes some code after switch from code tab to editor tab.

<video id="bg" data-object-fit="cover" preload="auto" autoplay="autoplay" loop="loop" muted="muted" volume="0" type="video/webm">
<source src="https://www.joomlacontenteditor.net/static/media/START.webm" type="video/webm" />
<source src="https://www.joomlacontenteditor.net/static/media/START.ogv" type="video/ogg" />
<source src="https://www.joomlacontenteditor.net/static/media/START.m4v" type="video/mp4" />
<source src="https://www.joomlacontenteditor.net/static/media/START.mp4" type="video/mp4" />
</video>
to

<video muted="muted" loop="loop" preload="auto" id="bg">
<source src="https://www.joomlacontenteditor.net/static/media/START.webm" type="video/webm" />
<source src="https://www.joomlacontenteditor.net/static/media/START.ogv" type="video/ogg" />
<source src="https://www.joomlacontenteditor.net/static/media/START.m4v" type="video/mp4" />
<source src="https://www.joomlacontenteditor.net/static/media/START.mp4" type="video/mp4" />
</video>

Any idea? Because all JCE filter settings are still the same.

Many thx

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

This will fix the removal of the data-object-fit and autoplay attributes, but the volume and type attributes will still be remove from the

Ryan Demmer

Lead Developer / CEO / CTO

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

web4studio
This update solved my issue :)

Thank you