Projet

Général

Profil

Souhaits #1568 » 0003-Set-focus-on-Summernote-activation-refs-1568.patch

Guillaume AGNIERAY, 22/09/2021 22:47

Voir les différences:

galette/templates/default/common_scripts.tpl
'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'
]
});
$('#mailing_corps').summernote({
codeviewFilter: true,
codeviewIframeFilter: false
});
$('#mailing_corps').summernote('focus');
}
function deactivateMailingEditor(id) {
$('#mailing_corps').summernote('destroy');
......
'p', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'
]
});
$('#mailing_corps').summernote({
codeviewFilter: true,
codeviewIframeFilter: false
});
$('#mailing_corps').summernote('focus');
});
{/if}
</script>
(2-2/6)