Overview#
These are notes on how to create an inline marker tool with Editor.js.

References#
The following pages were helpful:
https://editorjs.io/creating-an-inline-tool/
https://note.com/eveningmoon_lab/n/n638b9541c47c
For writing in TypeScript, the following was helpful:
https://github.com/codex-team/editor.js/issues/900
Implementation#
Implemented with Nuxt. Create the following marker.ts:
Call it as follows:
Verification#
Clicking the marker icon changes it to blue, and a <mark class="cdx-marker">xxx</mark> tag is inserted.

Summary#
I hope this serves as a useful reference.