forked from extern/egroupware
Updates tinymce to 5.5.1 and implements toolbar_mode option for htmlarea
This commit is contained in:
parent
b6f19f5a2b
commit
b42a4c097b
@ -88,6 +88,7 @@ var et2_htmlarea = /** @class */ (function (_super) {
|
|||||||
body_id: this.dom_id + '_htmlarea',
|
body_id: this.dom_id + '_htmlarea',
|
||||||
menubar: false,
|
menubar: false,
|
||||||
statusbar: this.options.statusbar,
|
statusbar: this.options.statusbar,
|
||||||
|
toolbar_mode: this.options.toolbar_mode,
|
||||||
branding: false,
|
branding: false,
|
||||||
resize: false,
|
resize: false,
|
||||||
height: this.options.height,
|
height: this.options.height,
|
||||||
@ -426,6 +427,12 @@ var et2_htmlarea = /** @class */ (function (_super) {
|
|||||||
'description': 'Comma separated string of toolbar actions. It will only be considered if no Mode is restricted.',
|
'description': 'Comma separated string of toolbar actions. It will only be considered if no Mode is restricted.',
|
||||||
'default': '',
|
'default': '',
|
||||||
'type': 'string'
|
'type': 'string'
|
||||||
|
},
|
||||||
|
toolbar_mode: {
|
||||||
|
'name': 'toolbar mode',
|
||||||
|
'type': 'string',
|
||||||
|
'default': 'floating',
|
||||||
|
'description': 'It allows to extend the toolbar to accommodate the overflowing toolbar buttons. {floating, sliding, scrolling, wrap}'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
|
@ -89,6 +89,12 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
'description': 'Comma separated string of toolbar actions. It will only be considered if no Mode is restricted.',
|
'description': 'Comma separated string of toolbar actions. It will only be considered if no Mode is restricted.',
|
||||||
'default': '',
|
'default': '',
|
||||||
'type': 'string'
|
'type': 'string'
|
||||||
|
},
|
||||||
|
toolbar_mode: {
|
||||||
|
'name': 'toolbar mode',
|
||||||
|
'type': 'string',
|
||||||
|
'default': 'floating',
|
||||||
|
'description': 'It allows to extend the toolbar to accommodate the overflowing toolbar buttons. {floating, sliding, scrolling, wrap}'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -213,6 +219,7 @@ export class et2_htmlarea extends et2_editableWidget implements et2_IResizeable
|
|||||||
body_id: this.dom_id + '_htmlarea',
|
body_id: this.dom_id + '_htmlarea',
|
||||||
menubar: false,
|
menubar: false,
|
||||||
statusbar: this.options.statusbar,
|
statusbar: this.options.statusbar,
|
||||||
|
toolbar_mode: this.options.toolbar_mode,
|
||||||
branding: false,
|
branding: false,
|
||||||
resize: false,
|
resize: false,
|
||||||
height: this.options.height,
|
height: this.options.height,
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
"pear/xml_feed_parser": "^1.0.5",
|
"pear/xml_feed_parser": "^1.0.5",
|
||||||
"pragmarx/google2fa-qrcode": "^1.0",
|
"pragmarx/google2fa-qrcode": "^1.0",
|
||||||
"simplesamlphp/simplesamlphp": "^1.18",
|
"simplesamlphp/simplesamlphp": "^1.18",
|
||||||
"tinymce/tinymce": "^5.0"
|
"tinymce/tinymce": "^5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"guzzlehttp/guzzle": "^6.5",
|
"guzzlehttp/guzzle": "^6.5",
|
||||||
|
17
composer.lock
generated
17
composer.lock
generated
@ -7332,16 +7332,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "tinymce/tinymce",
|
"name": "tinymce/tinymce",
|
||||||
"version": "5.0.7",
|
"version": "5.5.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/tinymce/tinymce-dist.git",
|
"url": "https://github.com/tinymce/tinymce-dist.git",
|
||||||
"reference": "0ae953e05a2d2bfdf4a35a9ad8eaf6df0f875393"
|
"reference": "a436d254bc8d62e50be1fdb3d3e98981ab0e4c40"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/0ae953e05a2d2bfdf4a35a9ad8eaf6df0f875393",
|
"url": "https://api.github.com/repos/tinymce/tinymce-dist/zipball/a436d254bc8d62e50be1fdb3d3e98981ab0e4c40",
|
||||||
"reference": "0ae953e05a2d2bfdf4a35a9ad8eaf6df0f875393",
|
"reference": "a436d254bc8d62e50be1fdb3d3e98981ab0e4c40",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"type": "component",
|
"type": "component",
|
||||||
@ -7350,13 +7350,15 @@
|
|||||||
"scripts": [
|
"scripts": [
|
||||||
"tinymce.js",
|
"tinymce.js",
|
||||||
"plugins/*/plugin.js",
|
"plugins/*/plugin.js",
|
||||||
"themes/*/theme.js"
|
"themes/*/theme.js",
|
||||||
|
"themes/*/icons.js"
|
||||||
],
|
],
|
||||||
"files": [
|
"files": [
|
||||||
"tinymce.min.js",
|
"tinymce.min.js",
|
||||||
"plugins/*/plugin.min.js",
|
"plugins/*/plugin.min.js",
|
||||||
"themes/*/theme.min.js",
|
"themes/*/theme.min.js",
|
||||||
"skins/**"
|
"skins/**",
|
||||||
|
"icons/*/icons.min.js"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -7374,7 +7376,7 @@
|
|||||||
"tinymce",
|
"tinymce",
|
||||||
"wysiwyg"
|
"wysiwyg"
|
||||||
],
|
],
|
||||||
"time": "2019-06-05T06:30:54+00:00"
|
"time": "2020-10-01T05:31:22+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "twig/extensions",
|
"name": "twig/extensions",
|
||||||
@ -7429,6 +7431,7 @@
|
|||||||
"i18n",
|
"i18n",
|
||||||
"text"
|
"text"
|
||||||
],
|
],
|
||||||
|
"abandoned": true,
|
||||||
"time": "2018-12-05T18:34:18+00:00"
|
"time": "2018-12-05T18:34:18+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user