1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Update TinyMCE editor to v4.7.6 release

Fixes issue with double scroll bar and subsequent position of inline editing toolbar.
This commit is contained in:
sauls8t 2018-02-04 15:51:14 +00:00
parent f967949513
commit 0f3de51ad5
156 changed files with 6555 additions and 69987 deletions

View file

@ -22,6 +22,7 @@ export default Component.extend(TooltipMixin, {
didReceiveAttrs() {
this._super(...arguments);
if (this.get('isDestroyed') || this.get('isDestroying')) return;
if (this.get('session.authenticated')) {

View file

@ -18,7 +18,7 @@ export default Component.extend({
documentService: service('document'),
appMeta: service(),
hasAttachments: notEmpty('files'),
canEdit: computed('permissions', 'document.protection', function() {
canEdit: computed('permissions.documentEdit', 'document.protection', function() {
return this.get('document.protection') !== this.get('constants').ProtectionType.Lock && this.get('permissions.documentEdit');
}),
showDialog: false,

View file

@ -29,6 +29,8 @@ export default Component.extend(TooltipMixin, ModalMixin, {
previewText: 'Preview',
didRender() {
this._super(...arguments);
let msContainer = document.getElementById('section-editor-' + this.get('containerId'));
let mousetrap = this.get('mousetrap');