- Create a new bookmark
- To the link add
data:text/html,
- After
data:text/html,
paste block below - Save bookmark, and open it
First time it may take a while to load the library
<link rel="stylesheet" href="https://uicdn.toast.com/editor/latest/toastui-editor.min.css" />
<style>body{margin:0}</style>
<script type="module" defer>
Object.defineProperty(window, 'localStorage', { value: { setItem() {}, getItem() {} }});
import Editor from 'https://esm.sh/@toast-ui/editor';
new Editor({ el: document.body, height: '100vh' });
</script>