Javascript in Code Block gets ignored after editing any cwicly block

Description:
After editing any cwicly Block in the cwicly editor the Javascript I write in a cwicly Code Block sometimes does not execute on the frontend at all.
Step-by-step reproduction instructions:

Please write the steps needed to reproduce the bug.

  1. Add a cwicly Code Block
  2. Write some Javascript in the Code Block
  3. Refresh the page on the frontend – previously added JS gets ignored
  4. Go back to the cwicly editor
  5. Open the previously added Code Block
  6. Make any change to the JS in the code block (simply adding a new line suffices)
  7. Refresh the page on the frontend – previously added JS is executed as expected

Screenshots, screen recording, code snippet

Environment info

  • WordPress version: 6.5.2
  • Cwicly Plugin version: 1.4.1.4 (also happened in 1.4.1.3)
1 Like

Probably a duplicate of this one:

1 Like

Ohhh, thanks for the hint @StrangeTech, didn’t catch the other post!

Do you know if I should delete my post and/or add my bug report to yankiara’s post? I guess it’s valuable to know that this is happening to multiple people, but just from the forum guidelines I couldn’t directly say which is the right approach.

Hey @marc,

Usually @Araminta or @Louis merge duplicate reports, so no further action required. :+1:

Definitely!

1 Like

@StrangeTech perfect, thanks for the insight :slight_smile:

1 Like