Code block keeps displaying old output in the editor

Cwicly Plugin version: 1.2.9.9.2

Hi,

When removing all outputs from a code block, like echo() or print_r() functions, the code block still displays the last output in the editor, like if it had been memorized (or maybe cached?) to be used if nothing is output by the new code.

I think that if the code doesn’t output anything, the default initial output “Code block” should be used instead.

Hello @yankiara,

Thanks for the report.
Definitely a consistency issue that will be fixed.

Cheers,

Hello @yankiara,

Thanks for bringing this up once again.
This should be fixed in 1.2.9.9.4.

Cheers,