@canburaks/text-align-editorjs

Inline text-align plugin for editorjs.

Usage no npm install needed!

<script type="module">
  import canburaksTextAlignEditorjs from 'https://cdn.skypack.dev/@canburaks/text-align-editorjs';
</script>

README

Inline text-align plugin for editorjs.

Text alignment with a button that tries all options (left, center, right, justify) in turn respectively.

text-align plugin editorjs

This is my first contribution to public. Therefore, it is highly probable to face an issue.

yarn add @canburaks/text-align-editorjs
import TextAlign from "@canburaks/text-align-editorjs"

const editor = new EditorJS({ 
    holder: 'editorjs', 
    tools: { 
        textAlign:TextAlign
    },
})

License

MIT.