No Code Attached Yet
avatar niosme
niosme
28 Sep 2023

Steps to reproduce the issue

e.g. a valid html code which is

<a href="https://www.google.com"> <img src="pic_trulli.jpg" alt="Trulli" width="500" height="333"> <div class="content"> <div class="title">Title</div> <div class="subtitle">Subtitle</div> </div> </a>

Expected result

The same as the above without any changes

Actual result

Tiny Mce manipulates it. There is no selection to stop it from doing it in plugin but tinymce offers that in the initialization of it to not manipulate the things we type inside.Also the above is a valid html5 structure.

The result we get is

<p ><a href=" https://www.google.com"> <img src="pic_trulli.jpg" alt="Trulli" width="500" height="333" / >< /a>< /p> < div class="content"> < div class="title">Title</div> < div class="subtitle">Subtitle</div> < /div>

Added some spaces cause it breaks down here.Even the tinymce closes the a tag before it should close which is wrong structure.Shouldn't be an option to prevent thoses modifications on tinymce or initialize it in a better way?

System information (as much as possible)

Without even saving the article or module.

Additional comments

Also in url if we just use just the '/' it turns it into the domain we have at the moment which will make a problem when we will transfer it. Its not handled by the joomla which turns it into your domain in the frontend.The tinymce before saving the module or article manipulates our structure and data which doesnt allow do custom things which are acceptable from html5.

avatar niosme niosme - open - 28 Sep 2023
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar niosme niosme - change - 28 Sep 2023
The description was changed
avatar niosme niosme - edited - 28 Sep 2023
avatar brianteeman
brianteeman - comment - 28 Sep 2023

This is resolved in tinymce 6 which is included in Joomla 5 which should be released next month.

avatar niosme
niosme - comment - 29 Sep 2023

Woah! Nice news to hear.
So we can wait to be fixed in Joomla 5. Thanks for that information.

avatar richard67 richard67 - change - 29 Sep 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-09-29 16:24:09
Closed_By richard67
avatar richard67
richard67 - comment - 29 Sep 2023

Closing as already fixed in Joomla 5 by using TinyMCE 6. Joomla 5 will be released in a few weeks, so not soooooo long to wait.

avatar richard67 richard67 - close - 29 Sep 2023

Add a Comment

Login with GitHub to post a comment