The following is a 5-year-old post, but it may have a suggestion for this
https://community.developer.atlassian.com/t/dynamic-macro-stop-working-with-new-editor/29364
It references this bug.
https://jira.atlassian.com/browse/CONFCLOUD-65717
There is no suggested workaround.
I would suggest two workarounds.
If you have to fix a lot of pages, I'd export the space, make the mass edits, and then import it.
I recall there was a source code editor for things like this... Can you point me to the equivalent in the cloud version? Is it still a macro?
It looks like you're new here. Sign in or register to get started.