Switch the default light theme of Jodit to a dark one or create your own.
Copy<link rel="stylesheet" href="build/jodit.min.css" /> <script src="build/jodit.min.js"></script>
Create an input element:
Copy<textarea id="editor"></textarea>
Initialize Jodit:
Copyvar editor = Jodit.make('#editor', { theme: 'dark' });
You can also craft your own theme:
Copy<style> .jodit_theme_summer { --jd-color-background-default: #417505; --jd-color-border: #474025; --jd-color-panel: #5fd3a2; --jd-color-icon: #8b572a; } </style>
Then apply this theme:
CopyJodit.make('#summer', { theme: 'summer' });