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:
parent
b8a0444f18
commit
5cdc2a0b3c
32 changed files with 5277 additions and 18 deletions
|
@ -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'));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue