2026-04-07 12:29 AM - edited 2026-04-07 12:36 AM
Tried to paste code in reply. Noticed, that line count does not match. Clicked in editor and it started to duplicate.
Also check out attached video.
In order to reproduce the bug, longer code must be pasted in C code insert tool from tool bar. Then mouse pointer must be navigated at the end of inserted code and clicked few times here and there. Inserted code will start to duplicate in editor.
2026-04-09 1:57 AM
Hi @featherbits,
Thanks for reporting this. We are investigating this behavior and will be get back once I have news.
Regards,
Lina
2026-04-09 2:33 AM
Yes, I have often seen this happening - it's very annoying.
Have you found a way to get out of this state?
2026-04-09 2:38 AM - edited 2026-04-09 2:39 AM
I have not found a way. I think for now solution would be to just not do anything that triggers the bug. Clicking inside pasted code and dragging seems to cause the issue. I think javascript library of the editor just hangs some event handler and app stays in bad state. Can be seen in developers console when bug gets triggered:
Uncaught TypeError: Cannot read properties of undefined (reading 'files')
at setUpMedia (lia-scripts-tinymce-min.js:56504:41)
2026-04-09 2:44 AM
No - I've never found a way, either.
Only way seems to be to cancel the post.
@Lina_DABASINSKAITE it's not just pasted code - same happens if it's a code block you've created from scratch in a post (new post or editing):
It seems like the editor thinks you want to drag the code block - but has no way to then let you "drop" it!
2026-04-10 5:46 AM
Thanks, @Andrew Neil. I passed it to the team investigating it.