SP PB 4.0.1 Garbage code when using JCE - Forum | JoomShaper
Awaiting an answer SP Page Builder

SP PB 4.0.1 Garbage code when using JCE

Asked by Pavel 4 years ago Last activity 3 years ago

Hi.

When in a JCE editor you add a paragraph (<p></p> tag by clicking enter), into the page code a garbage code appears.

The more editing actions you carry out, the more garbage code appears.

13 replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. I have checked my end no problem found. Will you please provide me the Joomla administrator access to check the issue?

Note: Can you share an screencast video about the full scenario?

-Thanks

Paul Frankowski Senior Staff
4 years ago · edited

If I may...

  1. Can you test on JCE Pro as well?
  2. Inside SPPB 4.0.1 sourcecode we don't have :

< mce:root ... data-mce-root="1" >

So I think it's question for JCE developer somehow.

Paul Frankowski Senior Staff
4 years ago · edited

I used JCE Pro 2.9.28 and html code was clean after < enter >

foto_8602_2022.jpg

also on front-end preview code was OK.

BTW My default JCE settings

foto_8603_2022.jpg

Pavel Asked this
4 years ago · edited

Hi Paul and Toufiq.

Paul, I don't have JCE Pro. Only free.

So I think it's question for JCE developer somehow.

Maybe. But there is no problem in SPPB 3.

Here is a step by step for the purity of the experiment.

Using SPPB 3, I add a text addon. I put the cursor at the end of the text and press Enter to get p.

Everything is clean in the code.

I update to SPPB 4. Add a new text addon. I put the cursor at the end of the text and press Enter to get p.

Now in the code is garbage.

I assume that the mce-data... elements are service elements from JCE and they work when editing only. In live page they should be cleaned. At least in SPPB 3, but not in SPPB 4.

Access in hidden area.

Paul Frankowski Senior Staff

Thanks, I should mentioned that two days ago I shared that topic to our developers team for code investigation.

Pavel Asked this

Hi Paul. Thanks for the answer

Pavel Asked this

Not fixed in 4.0.5

Paul Frankowski Senior Staff
4 years ago · edited

I know, still on the list to do. sorry 4.0.6

Pavel Asked this

Not fixed in 4.0.6

Log in to reply.