CodeMirror
Embedded code editor
Ref: https://prosemirror.net/examples/codemirror/
Example: https://github.com/sibiraj-s/ngx-editor/tree/master/demo for examples.
See https://sibiraj-s.github.io/ngx-editor/#/menu?id=custom-menu for implementing custom to toggle the codemirror block