Jump to content

Article and module tinymce editoe adds empty p tag


DanielH

Recommended Posts

Hi Alejandro,

I know this is not a jreviews thing just wanted to see if you can reproduce this.

In an article or custom module using the tinymce editor in source mode add some html like:

<div class="container">
  <div class="row">
    <h2>Header first added</h2>
	<p>some markup added first</p>
  </div>
</div>

click the ok button then go back into the source mode editor and add this for a second div container html markup before/above the first div container:

<div class="container">
  <div class="row">
    <h2>Header second added above</h2>
	<p>some markup added second above the first markup</p>
  </div>
</div>

 

it should look like this

<div class="container">
  <div class="row">
    <h2>Header second added above</h2>
	<p>some markup added second above the first markup</p>
  </div>
</div>
<div class="container">
  <div class="row">
    <h2>Header first added</h2>
	<p>some markup added first</p>
  </div>
</div>

click ok and go back into the source editor.

Are you getting an empty set of <p></p> tags between the first container closing div and second container opening div like this:

<div class="container">
  <div class="row">
    <h2>Header second added above</h2>
	<p>some markup added second above the first markup</p>
  </div>
</div>
<p></p>
<div class="container">
  <div class="row">
    <h2>Header first added</h2>
	<p>some markup added first</p>
  </div>
</div>

 

I'm only seeing this in joomla 4 on my upgraded site and also a vanilla joomla 4.1 install I tested. Already posted on joomla forums about it but no answers there or github. Over the years this has come up several times but never was an answer for it. No one has been able to reproduce this except the ones seeing it occur. Every time editing an article or module the editor is adding these tags throughout content, causing empty space on the front end view.

Just wanted to see if you can reproduce this so I can report to joomla I'm not the only one. I don't need you to troubleshoot this as I will let joomla do that if they can.

Thanks! 



 

Link to comment

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to comment

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to comment

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to comment

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to comment

This section is only visible with a valid subscription. If you have a valid subscription, please login.

Link to comment
×
×
  • Create New...