111-draft-js-alignment-plugin 中文文档教程
DraftJS Alignment Plugin
这是 draft-js-plugins-editor
的插件。
用法:
import createAlignmentPlugin from 'draft-js-alignment-plugin';
const alignmentPlugin = createAlignmentPlugin();
依赖项:
此插件需要 draft-js-focus-plugin
;
DraftJS Alignment Plugin
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-focus-plugin
;