Fix event handler with https://github.com/HackerWins/summernote/pull/291