Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display mode of the view file macro changes in edit mode in the wysiwyg editor when adding a new macro #311

Open
lucaa opened this issue Jul 27, 2024 · 1 comment

Comments

@lucaa
Copy link

lucaa commented Jul 27, 2024

How to reproduce:

  • add the view-file macro in a page, with the display mode set to "full":
{{view-file name="shortDemo.docx" display="full"/}}
  • edit the page in the wysiwyg edit mode
  • the display of the macro now changes to a "short mode", this is normal (it's also the display mode in edit mode when the macro is added, regardless of its parameters) - see View-file macro: don't render the document in edit mode #267
  • add another macro, under the view file - e.g. info - with the slash command or using the add macro menu

Actual result:

  • when the info macro is added, the view-file macro is rendered fully

image

Expected result:

  • the display of the view-file macro does not change when adding the new macro

image

If saved and edited again, the display is correct, it only breaks when a new macro is added in the editor.

@lucaa
Copy link
Author

lucaa commented Jul 27, 2024

tested with Pro macros 1.19.9 on XWiki 16.4.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant