Describe the bug
When copying a table from excel desktop app and pasting it into the editor
the table is inserted as an image instead of preserving the table markup. I first have to paste it into word, copy it there and then paste it into the editor to have it inserted as an actual table instead of an image.
To Reproduce
Steps to reproduce the behavior:
- Create table and copy it
- Paste copied table into editor (e.g edit new page in collective)
- It is displayed as image
Expected behavior
Copied table should preserve its markup when being pasted directly into editor and be dislayed as an actual table, which can be edited. It should not be pasted in as an image.
Screenshots
Copied and directly pasted into editor:
First pasted into word file and then copied from there:
Server details:
- Nextcloud version: 32.0.4
- PHP Version: 8.3.29
- Database: PostgreSQL 17.7
Client details:
- OS: Windows
- Browser: Firefox / Chrome
- Browser version: Firefox: 149.0.2 / Chrome: 147.0.7727.56
- Device: Desktop
Logs
Nextcloud log (data/nextcloud.log)
No log entry related to this
Browser log
Browser console output after i inserted the table directly into editor:
Error: <linearGradient> attribute gradientTransform: Expected '(', "rotateX(285)". Editor.vue:529
Promise.then
onChange @ Editor.vue:529
_handleResponse @ PollingBackend.ts:148
Promise.then
_fetchSteps @ PollingBackend.ts:139
setInterval
connect @ PollingBackend.ts:108
startSync @ SyncService.ts:189
(anonymous) @ Editor.vue:518
Promise.then
onOpened @ Editor.vue:517
open @ SyncService.ts:178
await in open
constructor @ WebSocketPolyfill.ts:56
(anonymous) @ y-websocket.js:165
connect @ y-websocket.js:560
constructor @ y-websocket.js:444
(anonymous) @ SyncServiceProvider.js:41
initSession @ Editor.vue:434
created @ Editor.vue:411
render @ editor.js:77
(anonymous) @ editor.js:289
await in (anonymous)
setupEditor @ useEditor.js:84
mounted @ TextEditor.vue:129
(anonymous) @ main.js:29
Describe the bug
When copying a table from excel desktop app and pasting it into the editor
the table is inserted as an image instead of preserving the table markup. I first have to paste it into word, copy it there and then paste it into the editor to have it inserted as an actual table instead of an image.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Copied table should preserve its markup when being pasted directly into editor and be dislayed as an actual table, which can be edited. It should not be pasted in as an image.
Screenshots
Copied and directly pasted into editor:
First pasted into word file and then copied from there:
Server details:
Client details:
Logs
Nextcloud log (data/nextcloud.log)
Browser log
Browser console output after i inserted the table directly into editor: