mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
section UX complete
This commit is contained in:
parent
c12d66643c
commit
9dcaf697a8
18 changed files with 30 additions and 632 deletions
|
@ -10,13 +10,11 @@
|
|||
// https://documize.com
|
||||
|
||||
import { schedule } from '@ember/runloop';
|
||||
|
||||
import { computed } from '@ember/object';
|
||||
import Component from '@ember/component';
|
||||
import { inject as service } from '@ember/service';
|
||||
import TooltipMixin from '../../../mixins/tooltip';
|
||||
|
||||
export default Component.extend(TooltipMixin, {
|
||||
export default Component.extend({
|
||||
link: service(),
|
||||
pageBody: "",
|
||||
pagePreview: "",
|
||||
|
@ -39,7 +37,6 @@ export default Component.extend(TooltipMixin, {
|
|||
|
||||
didInsertElement() {
|
||||
this.attachEditor();
|
||||
this.addTooltip(document.getElementById(this.get('tooltipId')));
|
||||
},
|
||||
|
||||
willDestroyElement() {
|
||||
|
@ -51,7 +48,6 @@ export default Component.extend(TooltipMixin, {
|
|||
}
|
||||
|
||||
this.set('codeEditor', null);
|
||||
this.destroyTooltips();
|
||||
},
|
||||
|
||||
getBody() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue