mirror of
https://github.com/documize/community.git
synced 2025-07-21 22:29:41 +02:00
Enable PDF section editor
This commit is contained in:
parent
61d0086337
commit
7fde947a52
6 changed files with 118 additions and 20 deletions
|
@ -12,20 +12,14 @@
|
|||
import $ from 'jquery';
|
||||
import { empty } from '@ember/object/computed';
|
||||
import { computed } from '@ember/object';
|
||||
import { inject as service } from '@ember/service';
|
||||
import Modals from '../../mixins/modal';
|
||||
import Notifier from '../../mixins/notifier';
|
||||
import Component from '@ember/component';
|
||||
|
||||
export default Component.extend(Modals, Notifier, {
|
||||
appMeta: service(),
|
||||
session: service(),
|
||||
documentSvc: service('document'),
|
||||
busy: false,
|
||||
mousetrap: null,
|
||||
showLinkModal: false,
|
||||
files: null,
|
||||
downloadQuery: '',
|
||||
hasNameError: empty('page.title'),
|
||||
hasDescError: empty('page.excerpt'),
|
||||
pageId: computed('page', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue