Use TinyMCE as default editor
Turn Joomla text filter ON in TinyMCE settings
Add a Youtube embed code
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>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>Joomla 3.9.18
Title |
|
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.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-05-04 18:44:44 |
Closed_By | ⇒ | brianteeman |
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.