diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-08-25 23:19:39 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-08-25 23:23:21 +0300 |
commit | 2cb367b94bd716ee6b1303927818c7ddbc0fcdfa (patch) | |
tree | 28d77724d165426bd6fa9fa59c1258864bc24b4a /src/commands | |
parent | 4efc9c48acb5a63bf795cc07edb0f52b4fa856fb (diff) |
Apply lint fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/listInputRule.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands/listInputRule.js b/src/commands/listInputRule.js index b48be7a27..1b5c934d9 100644 --- a/src/commands/listInputRule.js +++ b/src/commands/listInputRule.js @@ -22,6 +22,11 @@ import { InputRule, wrappingInputRule } from 'prosemirror-inputrules' +/** + * @param regexp + * @param nodeType + * @param getAttrs + */ export default function(regexp, nodeType, getAttrs) { return new InputRule(regexp, (state, match, start, end) => { const tr = wrappingInputRule(regexp, nodeType).handler(state, match, start, end) |