Create a code block, for example by a slash command.
Copy an HTML iframe markup and paste the <iframe src="..."></iframe> into the code area.
The code is not pasted and not pastable, instead an embed is created!
It's impossible to paste an iframe (and similar elements who lead to an embed).
This behviour should be disabled in code blocks!