diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-11-05 14:46:09 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-11-05 14:46:09 +0300 |
commit | 5eb7b205b3aed1f1e6fd5bbec41c947df46d4f39 (patch) | |
tree | 89b62bd7485689e6f226677e34c3ca22e7e41804 /src/marks/index.js | |
parent | b6a2f9c87d4b46476f5a343d9bec252886a3d34f (diff) |
Move to @nextcloud packages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/marks/index.js')
-rw-r--r-- | src/marks/index.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/marks/index.js b/src/marks/index.js index 4e9f9776b..d37ffd511 100644 --- a/src/marks/index.js +++ b/src/marks/index.js @@ -49,26 +49,26 @@ class Strike extends TipTapStrike { return { parseDOM: [ { - tag: 's' + tag: 's', }, { - tag: 'del' + tag: 'del', }, { - tag: 'strike' + tag: 'strike', }, { style: 'text-decoration', - getAttrs: value => value === 'line-through' - } + getAttrs: value => value === 'line-through', + }, ], toDOM: () => ['s', 0], toMarkdown: { open: '~~', close: '~~', mixable: true, - expelEnclosingWhitespace: true - } + expelEnclosingWhitespace: true, + }, } } @@ -79,5 +79,5 @@ class Strike extends TipTapStrike { export { Strong, Italic, - Strike + Strike, } |