Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-65731

Users are not able to create inline comments on texts that have been used in a Drawio plugin.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 7.4.5
    • None

    Description

      Issue Summary

      Users are not able to create inline comments on texts that have been used in a Drawio plugin. For example if there is a Drawio diagram in a Confluence page that has a header with a string "Test", users cannot create an inline comment on any "Test" string anywhere in the page. The error message that is displayed is We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text.

      Steps to Reproduce

      1. Create a new Confluence page.
      2. Create a diagram using drawio plugin with a heading
      3. Type the text "Test" in any heading cell.
      4. Type the text "Test" anywhere else in the page.
      5. Save the page.
      6. Highlight on the text "Test" from step 4 above and create an inline comment
      7. Type any comment on the inline comment text box and click Save

      Expected Results

      Once the user clicks on save, the inline comment should be available.

      Actual Results

      The error message We can't add your inline comment; the section you highlighted may contain a macro or user mention. Try highlighting plain text. will be displayed.

      Note: The issue described here is case-sensitive. For example, if the table header has the text "Test", users will still be able to create inline comments for the text "test"

      Workaround

      It seems that this issue only occurs if the page has exact string that is there in header. So a workaround on this would be to select extra words along with the header word.

      Long term solution

      Unfortunately this is due to the way the draw.io macro renders in Confluence. The macro bypasses the normal macro rendering process which normally adds wrapping tags around the macro. The long term solution would have to be a fix on the draw.io side to add these wrapping tags:

      <div class="conf-macro output-block" data-hasbody="false" data-macro-name="some-macro">  
      </div>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ssamal@atlassian.com Shakti
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: