Is there any chance to force editor to write log when they save the page?
We want record all change comment.
What if you did something like this. You could add it to the custom html section in confluence admin, or to the page decorator.
<script type="text/javascript"> AJS.toInit(function(){ AJS.$('#rte-button-publish').click(function(e){ var comment = AJS.$('#versionComment').val(); var inEditMode = AJS.$('body').hasClass('contenteditor') ? true : false; if(comment === '' && inEditMode) { e.preventDefault(); var dialog = new AJS.Dialog({ width:400, height:200, id:"comment-required", closeOnOutsideClick: false }); dialog.addHeader("Comment Required"); dialog.addPanel("Panel 1", "<p>You must enter a comment to save the page.</p>", "panel-body"); dialog.addButton("Ok", function (dialog) { dialog.remove(); }); dialog.gotoPage(0); dialog.gotoPanel(0); dialog.show(); } }); }); </script>
What version are you on?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, you can't do that. It goes against the principles of "just get on and write" that Atlassian want for Confluence too, so you'll never see it in the core product. I don't think there's any add-on to provide it either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.