Merge branch 'develop'

This commit is contained in:
Simon Vieille 2024-05-03 17:58:22 +02:00
commit 26cbaa8469
2 changed files with 5 additions and 4 deletions

View file

@ -7,6 +7,7 @@
* fix default crud sort
* fix hidden save button in file manager
* fix template of CrudController (maker)
* fix undefined `window.tinymce.murph`
## [v1.24.1] - 2024-02-01
### Fixed

View file

@ -618,14 +618,14 @@ const doInitEditor = () => {
}
module.exports = function () {
const observer = new MutationObserver(doInitEditor)
const config = { attributes: false, childList: true, subtree: true }
observer.observe(document.querySelector('body'), config)
$(() => {
createTinymceConfig()
doInitEditor()
const observer = new MutationObserver(doInitEditor)
const config = { attributes: false, childList: true, subtree: true }
observer.observe(document.querySelector('body'), config)
$('body').on('hidden.bs.modal', '.modal', (e) => {
if (!$('.tox-dialog').length) {
$(e.target).find('.tox-tinymce').each(() => {