xwikisas / application-googleapps

Google Apps Integration
0 stars 4 forks source link

Editing a page that has an embeded document doesn't work properly #79

Open claudiuion117 opened 1 month ago

claudiuion117 commented 1 month ago

Steps to reproduce:

1. Log in as Google owner (credentials used in Administration)
2. Create a new page
3. In Edit mode click on Insert ("+" icon) > Other Macros
4. Search and select Google Drive Macro
5. Click on the Submit button
6. Save & View the page
7. Search for a document that exists in the Google drive
8. Click on the "embed this document" link
9. Write some text below the embedded document
10. Save the changes
11. Write some more text anywhere in the page
12. Save the changes

Expected results: The text is saved.

Actual results: The text is saved as expected if it is above the embedded document , but if the text is below it is deleted, only the just added text is saved. If you edit again, this text will also be replaced by the most recent one.

Workaround: The page has to be edited in the wiki mode to save the changes correctly

Screenshot 2024-05-13 121859 Screenshot 2024-05-13 122018 Screenshot 2024-05-13 122031