Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Clone atoms are duplicated

Status Resolved
Add-on / Version Bloqs 5.0.13
Severity
EE Version 7.4.6

Benoit Lemay

Apr 02, 2024

When i duplicate a bloq, one of the atom field is also duplicate (it’s a RTE (RedactorX field). If i change the content of the first occurence and SAVE.. everything is back to normal after save but if i edit the second one, the data is not saved..

Video screen shot www2.auto-psy.com/Bloqs-clone-bug.mp4

#1

BoldMinded (Brian)

Can you please share a screenshot of your bloq settings page? I can’t even get a Redactor X field to display in Bloqs… I’m getting a core error in EE’s JS file.

#2

Benoit Lemay

HI, There’s a link to the setting screenshot https://www2.auto-psy.com/Bloqs-setting-clone-bug.png No JS error on my side!?

#3

BoldMinded (Brian)

I can replicate it now, I think my local env was messed up. Thanks for reporting this, but unfortunately I don’t know how long it’ll be until I can find time to look into a fix.

#4

Benoit Lemay

No worries.. i can live with it.. when you know that editing only the first occurence works.. then.. don’t edit the second one!! 😉

#5

BoldMinded (Brian)

This looks like an easy fix. Open up the clone-events.js file in the Bloqs theme directory. On line 171 or so you’ll see this:

$('.cke, .ck', context).remove();

Change it to this:

$('.cke, .ck, .rx-container', context).remove();

Login to reply