I'm currently in need of a code editor type field that I can embed directly within my web app and I noticed that Metronic v4 had it available here: https://preview.keenthemes.com/metronic-v4/theme/admin_4/components_code_editors.html
Is this same 'CodeMirror' code editor available out-of-the-box within Metronic v8? If not, does Metronic v8 come with any other code based editors packaged within?
Hi,
Sorry for the late reply.
Metronic comes with Prismjs plugin integration and you can see the plugin's examples in the docs code examples. To use this plugin in your page just include assets/plugins/custom/prismjs/prismjs.bundle.css
and assets/plugins/custom/prismjs/prismjs.bundle.js
and use your server-side code to pass the formatted code to the plugin as shown here.
Regards.