Empty paragraph tag added when editing in the backend - Forum | JoomShaper
Awaiting an answer SP Page Builder

Empty paragraph tag added when editing in the backend

Asked by Jeroen 3 years ago Last activity 3 years ago

Hello,

I use Joomla 4.3.4, JCE 2.9.50 FREE and SP Page Builder PRO 5.1.3.
I think there is a bug in SP Page Builder Pro in combination with JCE.

The problem:
If SP Page Builder PRO and JCE is used in the backend editor the following HTML:

<p class="mb-0">Test text.</p>

Converts to the below HTML if you for example edit the text.

<p> </p>
<p class="mb-0">Test text.</p>
<p> </p>

I've already posted this problem at the JCE forum:
https://www.joomlacontenteditor.net/support/forum/114854-p-tag-added-before-and-after-if-first-paragraph-has-a-class-and-jce-and-sppb-backend-editor-is-used
There it is said that this is due to some code in the file:
administrator/components/com_sppagebuilder/assets/editor/dist/js/bundle.min.js

The problem only occurs:

  • If the backend editor of SP Page Builder Pro is used in combination with JCE.
  • If the first paragraph has a class. In the example I have the "mb-0". But it also occurs when you use the class "text-center".

The problem does not occur:

  • If the frontend editor of SP Page Builder Pro is used in combination with JCE.
  • If I use the default TinyMCE editor.
  • If the first paragraph has no class. The second paragraph may have a class.

So there is a problem if the first paragraph tag has a class.

Regards,
Jeroen

4 replies

Pavel
3 years ago · edited

Hi. I published report about this bug for a very long time. But unfortunately this is not corrected yet. This problem is completely ignored by the team and this is what makes me still use SPPB 3.

If you turn on the highlighting of blocks in JCE, then you visually find a larger scale of this problem. Does not depend on the presence of class in p

https://www.joomshaper.com/forum/question/25935

Jeroen Asked this

Good to hear I'm not the only one experiencing problems with this.
It is a very annoying bug and makes it difficult to work with SPPB 5.

Joomshaper, please fix this!

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. I have already reported this bug. Our team said it may take, so allow them some time please.

-Regards.

Log in to reply.