[Feature Request] Allow copying Base cell values, including Formula results, with Ctrl/Cmd+C
Feature request
It should be possible to copy the value of a focused cell in a Base using
Ctrl+C / Cmd+C.
This is especially important for Formula properties because formula cells are read-only and there currently seems to be no convenient way to copy their computed result.
Current behavior
- Create a Base.
- Add one or more properties and a Formula property.
- Let the Formula return a text value.
- Focus the Formula cell.
- Press
Ctrl+C/Cmd+C. - Paste somewhere else.
Nothing is copied.
Double-clicking the Formula cell opens the formula editor, which allows editing the formula expression itself, but does not provide a convenient way to copy the computed value.
Expected behavior
When a Base cell is focused, pressing Ctrl+C / Cmd+C should copy its value
to the clipboard.
For a Formula property, this should copy the computed result, not the formula source expression.
For text values containing line breaks, the line breaks should be preserved in the clipboard.
For example, a Formula may generate:
./config.sh \
--url https://github.com/example/repository \
--token 'example' \
--name example-runner \
--labels exampleCopying the Formula cell should put that complete multi-line value into the clipboard.
Motivation
Bases can be useful not only for calculations but also for generating text from structured properties.
One example is a small command/script generator:
- Project: Text
- Repository: Text
- Download URL: Text
- Script: Formula
The Formula combines the input properties into a ready-to-use shell script. Docmost already handles the calculation perfectly, but the generated result cannot conveniently be copied out of the Base.
Being able to copy a focused cell value would also make Base interaction feel more consistent with spreadsheet/database applications.
Possible UX
At minimum:
Ctrl+C / Cmd+C on a focused cell → copy the cell value
Optionally, a Copy value action in the cell context menu or for read-only cells could make the feature discoverable for mouse users as well.
For Formula cells, the copied value should always be the evaluated result.
Source: docmost/docmost