1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-28 17:49:41 +02:00

implemented inlined editing and new WYSIWYG editor skin

This commit is contained in:
Harvey Kandola 2017-02-28 17:50:03 +00:00
parent b8a0444f18
commit 5cdc2a0b3c
32 changed files with 5277 additions and 18 deletions

View file

@ -56,6 +56,9 @@ export default Ember.Component.extend({
if (is.not.null(drop)) {
drop.destroy();
}
Mousetrap.unbind('esc');
Mousetrap.unbind(['ctrl+s', 'command+s']);
},
actions: {
@ -70,7 +73,7 @@ export default Ember.Component.extend({
position: "bottom right",
openOn: "always",
constrainToWindow: true,
constrainToScrollParent: false,
constrainToScrollParent: false,
tetherOptions: {
offset: "5px 0",
targetOffset: "10px 0"
@ -91,6 +94,10 @@ export default Ember.Component.extend({
return;
}
if (this.get('isDestroyed') || this.get('isDestroying')) {
return;
}
this.attrs.onAction(this.get('page.title'));
},