PlantUML is not rendered in AWM App Fields of Type TextArea (WYSIWYG) When using PlantUML content in an AWM App's TextArea field, the content does not render or appear visible when the page is opened or reloaded. The behavior can be categorized into the following cases:
- The content is not visible if you open the page.
- The content becomes visible when the editor is opened.
- If editing is closed without saving, the content remains invisible.
- If editing is closed and saved, the content becomes visible temporarily.
- Reloading the page causes the content to become invisible again.
Steps to Reproduce: Create an AWM App with a field of type TextArea and enable WYSIWYG. Create a page using the app template and insert a PlantUML macro in the TextArea field:
{{plantuml}}
@startuml
sprite $tA jar:archimate/driver
sprite $tB jar:archimate/motivation-outcome
rectangle "A" as A <<$tA>> #Business
rectangle "B" as B <<$tB>> #Motivation
A -right- B
@enduml
{{/plantuml}}
Versions:
- XWiki 16.6.4
- PlantUML Macro 2.3.2
- PlantUML 1.2021.7.
|