xwikisas / xwiki-pro-macros

XWiki rendering macros useful when migrating content from Confluence
GNU Lesser General Public License v2.1
3 stars 12 forks source link

View Files: when used on its own line, the button display type causes the WYSIWYG editor to eat the content following the macro #303

Closed raphj closed 1 month ago

raphj commented 1 month ago

image

This is because we are issuing a span and disabling html cleaning, which prevents the macro to issue a block, which is not expected / invalid for a standalone macro.

Full discussion here for anyone interested in the topic: https://matrix.to/#/!ikPtGZaGWtyblizzlR:matrix.xwiki.com/$172189164476Tibuu:matrix.xwiki.com?via=matrix.org&via=matrix.xwiki.com