Skip to content

Commit

Permalink
Remove undo and redo actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredreich committed Jul 15, 2017
1 parent e942bd2 commit a738209
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 27 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ Current actions:
- Horizontal Rule
- Link
- Image
- Undo
- Redo

Other possible future actions:
- Justify Center
Expand All @@ -55,6 +53,8 @@ Other possible future actions:
- Indent
- Outdent
- Clear Formatting
- Undo
- Redo

## Browser Support

Expand Down
14 changes: 0 additions & 14 deletions dist/pell.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,6 @@ var actions = {
icon: '📷',
title: 'Image',
result: image
},
undo: {
icon: '↺',
title: 'Undo',
result: function result() {
return execute('undo');
}
},
redo: {
icon: '↻',
title: 'Redo',
result: function result() {
return execute('redo');
}
}
};

Expand Down
2 changes: 1 addition & 1 deletion dist/pell.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/pell.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,6 @@ const actions = {
icon: '📷',
title: 'Image',
result: image
},
undo: {
icon: '↺',
title: 'Undo',
result: () => execute('undo')
},
redo: {
icon: '↻',
title: 'Redo',
result: () => execute('redo')
}
}

Expand Down

0 comments on commit a738209

Please sign in to comment.