No Code Attached Yet
avatar michaelhthomas
michaelhthomas
12 Sep 2021

Steps to reproduce the issue

  • Enter TinyMCE plugin settings and disable iframe / script tag filtering, or enable use Joomla text filter option.
  • Add content to a page which contains an iframe or script tag
  • Switch between editor and HTML modes or attempt to save the page.

Expected result

Page is saved correctly and iframe / script tags are preserved.

Actual result

Iframe/script tags are stripped by the editor and cannot be saved. Adding iframes or script tags is only possible when the TinyMCE plugin is disabled entirely.

System information (as much as possible)

Joomla 4.0.2 using Docker-compose on Ubuntu.

Additional comments

Even with Joomla system wide content filtering disabled, as well as the "Use Joomla text filter" option enabled, TinyMCE strips protected tags from the HTML and ignores this configuration.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar michaelhthomas michaelhthomas - open - 12 Sep 2021
avatar michaelhthomas michaelhthomas - change - 12 Sep 2021
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Sep 2021
avatar richard67
richard67 - comment - 12 Sep 2021

You have to remove iFrame from the prohibited elements in the options of the tinymce editor plugin.

avatar brianteeman
brianteeman - comment - 12 Sep 2021

@richard67 The user has already stated that they have done that. ;) However.

You have almost certainly come across an example of a poor user interface for the settings of tinymce.

TinyMCE lets you have different settings for different usergroups. The default group for admins is group 0 but you have probably not noticed the tab settings and have only changed the setting for the first group displayed which is group 2.

image

image

avatar brianteeman
brianteeman - comment - 15 Nov 2021

This can probably be closed now.

avatar HLeithner HLeithner - change - 15 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-15 07:47:04
Closed_By HLeithner
avatar HLeithner HLeithner - close - 15 Nov 2021
avatar HLeithner
HLeithner - comment - 15 Nov 2021

Thanks brian, I think it explained how to solve this.

Add a Comment

Login with GitHub to post a comment