Souhaits #1568 » 0003-Set-focus-on-Summernote-activation-refs-1568.patch
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>
|