Skip to content

Commit

Permalink
fix typo (#2087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fengyuan Chen authored and jhchen committed Apr 26, 2018
1 parent e1d8f53 commit 5adf20c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formats/indent.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Parchment from 'parchment';

class IdentAttributor extends Parchment.Attributor.Class {
class IndentAttributor extends Parchment.Attributor.Class {
add(node, value) {
if (value === '+1' || value === '-1') {
let indent = this.value(node) || 0;
Expand All @@ -23,7 +23,7 @@ class IdentAttributor extends Parchment.Attributor.Class {
}
}

let IndentClass = new IdentAttributor('indent', 'ql-indent', {
let IndentClass = new IndentAttributor('indent', 'ql-indent', {
scope: Parchment.Scope.BLOCK,
whitelist: [1, 2, 3, 4, 5, 6, 7, 8]
});
Expand Down

0 comments on commit 5adf20c

Please sign in to comment.