bmcmahen / react-wysiwyg

retain some control over contenteditable input
169 stars 37 forks source link

Allow users to escape with content #19

Open CoreyTrombley opened 9 years ago

CoreyTrombley commented 9 years ago

Allow users to escape from editing even if the content is not empty and default back to original content. While trying to do this type of functionality I noticed you can only escape if the content is empty.

bmcmahen commented 9 years ago

You mean, onEscapeKey callback is only triggered when the content is empty?

CoreyTrombley commented 9 years ago

Correct