chore(core): set read-only mode on mobile device (#7651)

Close [BS-795](https://linear.app/affine-design/issue/BS-795/affine-mobile-设置只读模式)

- Set read-only mode on mobile device
- Add mobile only support read-only warning toast
- remove `user-select: none` so that user can select text in read-only mode
This commit is contained in:
L-Sun
2024-08-01 05:22:49 +00:00
parent 3a0241340c
commit 33fc00f8c7
6 changed files with 21 additions and 4 deletions

View File

@@ -1325,6 +1325,7 @@
"com.affine.toastMessage.successfullyDeleted": "Successfully deleted",
"com.affine.today": "Today",
"com.affine.tomorrow": "Tomorrow",
"com.affine.top-tip.mobile": "Limited to view-only on mobile.",
"com.affine.trashOperation.delete": "Delete",
"com.affine.trashOperation.delete.description": "Once deleted, you can't undo this action. Do you confirm?",
"com.affine.trashOperation.delete.title": "Permanently delete",