This is a plugin for the draft-js-plugins-editor.
Usage:
import createAlignmentPlugin from 'draft-js-alignment-plugin';
const alignmentPlugin = createAlignmentPlugin();Dependencies:
This plugin requires that the draft-js-entity-props-plugin is also applied to the Editor;