?
avatar humblehumanbeing
humblehumanbeing
4 May 2020

Steps to reproduce the issue

Use TinyMCE as default editor
Turn Joomla text filter ON in TinyMCE settings
Add a Youtube embed code

<iframe width="1129" height="635" src="https://www.youtube.com/embed/b1LjegNN09M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Save the article

Expected result

It should retain the code as is:

<iframe width="1129" height="635" src="https://www.youtube.com/embed/b1LjegNN09M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Actual result

Text filter won't clear iframe and its parameters but allowfullscreen parameter is enclosed with "s

<iframe width="1129" height="635" src="https://www.youtube.com/embed/b1LjegNN09M" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="allowfullscreen"></iframe>

System information (as much as possible)

Joomla 3.9.18

Additional comments

avatar humblehumanbeing humblehumanbeing - open - 4 May 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 May 2020
avatar humblehumanbeing humblehumanbeing - change - 4 May 2020
The description was changed
avatar humblehumanbeing humblehumanbeing - edited - 4 May 2020
avatar humblehumanbeing humblehumanbeing - change - 4 May 2020
Title
Youtube embed code modified by
Youtube embed code modified by TinyMCE
avatar humblehumanbeing humblehumanbeing - edited - 4 May 2020
avatar SharkyKZ
SharkyKZ - comment - 4 May 2020

It doesn't wrap the attribute, it adds a value to the attribute. This is required in XHTML. Unless this is causing the attribute to fail (it really shouldn't), this isn't really an issue.

avatar brianteeman brianteeman - close - 4 May 2020
avatar brianteeman
brianteeman - comment - 4 May 2020

I am closing this as the "problem" is upstream with tinymce and beyond our control. You can see this with the demo at https://www.tiny.cloud/ where the same thing happens.

avatar brianteeman brianteeman - change - 4 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-04 18:44:44
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment