odoo/o-spreadsheet#5241
Created by fw-bot
Merged
at aabdd2e19ba140babd94893662221c4b57f0b313
Statuses:
- label
- odoo:master-18.0-fix-cross-browser-rar-EyTs-fw
- head
- 12331fe8150d466b4a74047118d4b6c388703607
- merged
- 3 days ago by BI, RĂ©mi Rahir (rar)
odoo/o-spreadsheet | |
---|---|
18.0 | #5063 |
master | #5241 |
[FW][FIX] clipboard: Fix clipboard cross-browser coverage
The current implementation of the cross-browser clipboard relies heavily on an API that is currently only available on Chromium based browsers (see table).
There is currently no definitive announce that the feature will be adopted by other browsers (namely FF and Safari) and since the feature is still marked as experimental, it'd be better to rely on a more generic approach.
This revision changes the flow to rely entirely on the text/html
mimetype as it is supported by all modern browsers.
Description:
description of this task, what is implemented and why it is implemented that way.
Task: TASK_ID
review checklist
- [ ] feature is organized in plugin, or UI components
- [ ] support of duplicate sheet (deep copy)
- [ ] in model/core: ranges are Range object, and can be adapted (adaptRanges)
- [ ] in model/UI: ranges are strings (to show the user)
- [ ] undo-able commands (uses this.history.update)
- [ ] multiuser-able commands (has inverse commands and transformations where needed)
- [ ] new/updated/removed commands are documented
- [ ] exportable in excel
- [ ] translations (_t("qmsdf %s", abc))
- [ ] unit tested
- [ ] clean commented code
- [ ] track breaking changes
- [ ] doc is rebuild (npm run doc)
- [ ] status is correct in Odoo
Forward-Port-Of: #5063