@editora/indent
v1.0.4
Published
Indent plugin for Editora
Maintainers
Readme
@editora/indent
[!IMPORTANT] Live Website: https://editora-ecosystem.netlify.app/
Storybook: https://editora-ecosystem-storybook.netlify.app/
Indents and outdents the selected blocks, in steps of 40px of left padding, across as many paragraphs as are selected.
Installation
npm install @editora/indentOr the bundled plugins:
npm install @editora/pluginsUsage
import { IndentPlugin } from "@editora/indent";
// or: import { IndentPlugin } from "@editora/plugins";
const plugins = [IndentPlugin()];Commands and shortcuts
increaseIndent:Mod-]decreaseIndent:Mod-[
Both have toolbar buttons. The change is recorded in the history, so Undo takes it back.
