Ran Shem Tov pushed to branch master at cms-community / hippo-addon-channel-manager
Commits: c8a604b6 by Ran ShemTov at 2017-08-07T10:28:45+02:00 CHANNELMGR-1416 Change blur event listener to fire when the editor element (editor object from ckeditor) is blurred and get event data from the blur event on the dom element - - - - - ad97eef8 by Ran ShemTov at 2017-08-07T11:21:59+02:00 Merge branch 'bugfix/CHANNELMGR-1416' - - - - - 1 changed file: - frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields/ckeditor/ckeditor.controller.js Changes: ===================================== frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields/ckeditor/ckeditor.controller.js ===================================== --- a/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields/ckeditor/ckeditor.controller.js +++ b/frontend-ng/src/angularjs/channel/sidePanels/rightSidePanel/fields/ckeditor/ckeditor.controller.js @@ -69,7 +69,8 @@ class CKEditorController { // CKEditor has been replaced and instance is ready this.editor.on('instanceReady', () => { this.editableElement = this.$element.find('.cke_editable'); - this.editableElement.on('blur', $event => this.onEditorBlur($event)); + this.editableElement.on('blur', ($event) => { this.blurEvent = $event; }); + this.editor.on('blur', () => this.onEditorBlur(this.blurEvent)); this.editor.on('dialogShow', () => { this.SharedSpaceToolbarService.isToolbarPinned = true; }); this.editor.on('dialogHide', () => { this.SharedSpaceToolbarService.isToolbarPinned = false; }); View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/134e67ed0a66026739afcc052e09027f32b59dbc...ad97eef8774decd4d87f1250c63f9f485d5671f5 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-addon-channel-manager/compare/134e67ed0a66026739afcc052e09027f32b59dbc...ad97eef8774decd4d87f1250c63f9f485d5671f5 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn