Empty Paragraph Tag Added When Editing In The Backend - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Empty Paragraph Tag Added When Editing In The Backend

J

Jeroen

SP Page Builder 2 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

0
4 Answers
Pavel
Pavel
Accepted Answer
2 years ago #132945

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

0
J
Jeroen
Accepted Answer
2 years ago #132947

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!

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #132978

Hi

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

-Regards.

0
Pavel
Pavel
Accepted Answer
2 years ago #133161

Hi Jeroen. Another bug with JCE.

I specifically leave the link here so that the team finally glances at the problems with JCE. The use of TinyMCE is not very convenient.

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

0