This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-6bff59f7-128e-4d09-b2f3-71fb039df324 XWIKI-22795 Open

PlantUML Not Rendered in AWM App Fields of Type TextArea

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-7c5c153f-4c31-41cd-926d-911a7845ef6c Sebastian Klipper created this issue on 20/Jan/25 10:47
 
Summary: PlantUML Not Rendered in AWM App Fields of Type TextArea
Issue Type: cid:jira-generated-image-avatar-6bff59f7-128e-4d09-b2f3-71fb039df324 Bug
Affects Versions: 16.4.6
Assignee: Unassigned
Components: App Within Minutes
Created: 20/Jan/25 10:47
Priority: cid:jira-generated-image-static-major-867cdb4b-0b90-441c-be08-1cd752eb5477 Major
Reporter: Sebastian Klipper
Description:

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:

  1. The content is not visible if you open the page.
  2. The content becomes visible when the editor is opened.
  3. If editing is closed without saving, the content remains invisible.
  4. If editing is closed and saved, the content becomes visible temporarily.
  5. 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.