stable

Clone or download

Read-only

fix: dropdown does not show anymore when an editor has left edition mode

When at least one editor is in edition mode, we disable the "Export document in PDF" item in the action menu. However, when the user closes all the editors of the document, the dropdown of the PdfExportMenuItem won't show anymore. How to test: - Have several templates - Click on the actions dropdown, hover "Export document in PDF" --> The dropdown shows up - Edit a section, then save it (or cancel) - Click on the actions dropdown, hover "Export document in PDF" --> The dropdown shows up Part of story #38630: Export to file Change-Id: I37a5f1721eceafe6fdf7f6a5e1a6f6e92df2da26

Modified Files

Name
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.test.ts +4 −5 Go to diff View file
M plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuItem.vue +6 −44 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuTemplatesDropdown.test.ts +62 −0 Go to diff View file
A plugins/artidoc/scripts/artidoc/src/components/export/pdf/PdfExportMenuTemplatesDropdown.vue +81 −0 Go to diff View file