Hi,
I am looking for a way to disable the checkbox for including images and attachments when copying a Confluence page.
It seems that there is no straightforward option to do this directly through the settings.
So, I’m considering using custom HTML to create a similar effect, like this:
<style>
#copy-attachments-container {
display: none;
}
</style>
<script>
function disableCopyAttachments() {
setTimeout(disableCopyAttachments, 500);
if ( $('#copy-attachments').is(':checked')) {
setTimeout(function() {$('#copy-attachments').removeAttr('checked');}, 500);
}
}
disableCopyAttachments();
</script>
Is this approach advisable? Additionally, is there a way to apply this modification to a specific space only, rather than globally across all spaces?