Skip to content

Commit

Permalink
Merge pull request #119 from WordPress/tinymce-logger
Browse files Browse the repository at this point in the history
Add change and dirty event to tinymce logger.
  • Loading branch information
ellatrix authored Feb 23, 2017
2 parents 18bfd4a + 9c4f9bc commit fc97736
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared/tinymce/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ window.tinymce.PluginManager.add( 'logger', function( editor ) {
beforeSetContent: 'fires before content is set in the editor. Can be used for manipulation.',
setContent: 'fires after content is set in the editor.',
beforeExecCommand: 'fires before commands are executed.',
execCommand: 'fires after commands are executed.'
execCommand: 'fires after commands are executed.',
change: 'fires when a new undo level is added.',
dirty: 'fires when the editor is considered to be in a dirty (unsaved) state. '
};

window.tinymce.each( types, function( info, type ) {
Expand Down

0 comments on commit fc97736

Please sign in to comment.