Extend inline comments to work on all macros(inbuilt and third-party)

XMLWordPrintable

    • 0
    • 4

      Issue Summary

      As per the design, inline comments are not supported for content inside certain inbuilt macros(like Code Block, Blog Posts, Excerpt Include, etc.) and macros from third-party plugins(like Confiform, draw.io, etc.).

      This is reproducible on Data Center: (yes) / (no) Yes

      Steps to Reproduce

      In-built macros

      1) Create a page and add any in-built macro like Code block.

      2) Add text inside the Code block macro and save the changes.

      3) Try adding an inline comment to the content inside the Code block macro which will fail with the below Warning before saving the inline comment.

      We can't add an inline comment because the selected text includes the Code Block macro. We'll add it as a page comment instead.

      Due to the above message, comments added as inline comments will be added as page comments instead.

      Third-party plugins macros

      1) Create a page with the content from a third-party macro like Confiforms and add an inline comment to the content inside the Confiform macro. 

      2) As per the existing design, the below error is displayed while saving an inline comment on the third-party content.

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

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Nitin Rastogi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: