Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ Add the following at about line 169:
if (type = schema.marks.s)
r.toggleS = markItem(type, {title: "Toggle strikethrough", icon: icons.s})
```
Then insert `r.toggleS` into the `r.inlineMenu` list around line 226:
```
r.inlineMenu = [cut([r.toggleStrong, r.toggleEm, r.toggleS, r.toggleCode, r.toggleLink])]
```

Save all your changes and now you’ll see the new strikethrough button showing in the editor.

Expand Down