Pinning the toolbar loses its state when clicking on legacy content.

XMLWordPrintable

    • Minor

      Issue Summary

      Pinning the toolbar loses its state when clicking on legacy content.

      Steps to Reproduce

      1. Edit a page with legacy content.
      2. Click on “Make Edits” in one of the legacy contents.
      3. Select a text outside of the legacy content and pin the toolbar
      4. Click on the element inside the legacy content.
      5. When you click the element (Step 4), this endpoint is being called:

      https://<site>.atlassian.net/cgraphql?q=EditorPreferencesMutation

      Payload

       

      [
        {
          "operationName": "EditorPreferencesMutation",
          "variables": { "toolbarDockingInitialPosition": "top" },
          "query": "mutation EditorPreferencesMutation($toolbarDockingInitialPosition: String!) {\n  updateUserPreferences(\n    userPreferences: {confluenceEditorSettingsInput: {toolbarDockingInitialPosition: $toolbarDockingInitialPosition}}\n  ) {\n    confluenceEditorSettings {\n      toolbarDockingInitialPosition\n      __typename\n    }\n    __typename\n  }\n}\n"
        }
      ] 

      Response

       

       

      [
          {
              "data": {
                  "updateUserPreferences": {
                      "confluenceEditorSettings": {
                          "toolbarDockingInitialPosition": "top",
                          "__typename": "ConfluenceEditorSettings"
                      },
                      "__typename": "UserPreferences"
                  }
              }
          }
      ] 

       

       

      Expected Results

      The pinned toolbar status remains selected.

      Actual Results

      The toolbar pin status is reset.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              Mario Cardia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: