diff --git a/atlassian/confluence.py b/atlassian/confluence.py index 18fc7f452..a226e6a0a 100644 --- a/atlassian/confluence.py +++ b/atlassian/confluence.py @@ -758,6 +758,10 @@ def create_page( if full_width is True: data["metadata"]["properties"]["content-appearance-draft"] = {"value": "full-width"} data["metadata"]["properties"]["content-appearance-published"] = {"value": "full-width"} + else: + data["metadata"]["properties"]["content-appearance-draft"] = {"value": "fixed-width"} + data["metadata"]["properties"]["content-appearance-published"] = {"value": "fixed-width"} + try: response = self.post(url, data=data) except HTTPError as e: @@ -1643,6 +1647,9 @@ def update_page( if full_width is True: data["metadata"]["properties"]["content-appearance-draft"] = {"value": "full-width"} data["metadata"]["properties"]["content-appearance-published"] = {"value": "full-width"} + else: + data["metadata"]["properties"]["content-appearance-draft"] = {"value": "fixed-width"} + data["metadata"]["properties"]["content-appearance-published"] = {"value": "fixed-width"} try: response = self.put( "rest/api/content/{0}".format(page_id),