dynamicContentMacros with "html" key does not have the "data-macro-name" and "data-macro-id" attributes when rendered

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When creating a dynamicContentMacro like:

      {
        "url": "/hello-world?pageId={page.id}&pageVersion={page.version}&macroId={macro.id}&macroBody={macro.body}&profileUser.accountId={profileUser.accountId}&user.accountId={user.accountId}&contentId={content.id}",
        "key": "html",
        "name": {
            "value": "Anne Dynamic Macro"
        },
        "categories": ["media"],
        "outputType": "block",
        "bodyType": "rich-text",
        "featured": true,
        "width": "100%",
        "editor": {
            "url": "/hello-world",
            "editTitle": {
                "value": "Anne Custom Editor"
            },
            "insertTitle": {
                "value": "Anne Custom Editor"
            },
            "width": "640px",
            "height": "370px",
            "chrome": false
        }
      }
      

      it does not have the macro-name and macro-id attributes when rendered:

      compared when other keys are used:

      Workaround

      Use a different key

        1. Snip20190916_140.png
          Snip20190916_140.png
          929 kB
        2. Snip20190916_135.png
          Snip20190916_135.png
          854 kB

            Assignee:
            Unassigned
            Reporter:
            Anne Calantog
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: