We updated to Wordpress 5.0 on our website, problem is that this includes the new gutenberg editor.
Before this I already removed the WP function that sometimes places
<br> elementsin your message after you safe with 'wpautop'. However the new editor gives a new problem, the new gutenberg editor places the
<p> elements in your message when you tab and when you press safe.
I know that adding js code directly in your post is not the best option, however it works fairly easy for quickly testing. Is it just not possible to use JS in the new gutenberg editor?
Edit: I hope to find a solution that solves the problem. As I mentioned before we installed the classic editor plugin. This currently is for us a temporary fix as I hope to get a way to use the latest software of Wordpress without relying on plugins.