bevacqua / woofmark

:dog2: Barking up the DOM tree. A modular, progressive, and beautiful Markdown and HTML editor
https://bevacqua.github.io/woofmark
MIT License
1.62k stars 74 forks source link

Is there a way to access the InputHistory within the source? #7

Closed danvim closed 8 years ago

danvim commented 9 years ago

I examined the source of the code. I'm sorry I am not familiar with the node styled javascript. I would like to add buttons for the functions for redoing and undoing history. Is that something doable?

bevacqua commented 9 years ago

We could consider exposing the history instance on the public API, or maybe a subset of its API (the methods that make sense to expose, like undo, redo, canUndo, canRedo, and reset.