-
Bug
-
Resolution: Unresolved
-
Low
-
Minor
-
Issue Summary
When using the Custom UI macro body in a forge macro on a live edit page, any @-mentions will not have the text attribute with the user name when being received from the forge context automatically.
On a regular document (not live doc), the ADF entity of the mention will contain an attrs.text attribute with the display name of the mention.
Steps to Reproduce
- Create an app with a forge body macro using custom ui.
- Create a new live doc page
- Add the macro to the page, as the macro body add an @-mention
- Save the macro body (“Done editing”)
- In the custom ui of the macro, receive the forge context via await view.getContext()
- Log the context and look for the extension.macro.body attribute, which contains the macro body as ADF
- Find the @-mention node. Look for the text attribute of the attrs object of that node
- The text attribute will always be an empty string
Expected Results
Both regular and live page should return any @-mentions will not have the text attribute with the user name when being received from the forge context automatically.
Actual Results
Any @-mentions will not have the text attribute with the user name when being received from the forge context automatically.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available