Source code edit? Insert <script> tag


I am looking for an editor for a blog site and time to time the users need to insert and later on also edit tag into the post. But in a way that the script actually works.

Does ProseMirror editor allow users to insert and save working tag?

Thank you Radek