refactor(editor): inner toolbar surface-ref block with extension (#11246)

This PR refactor `surface-ref` toolbar with `ToolbarExtension`
This commit is contained in:
L-Sun
2025-03-28 05:48:24 +00:00
parent 69f393fe2f
commit af91a0217f
22 changed files with 551 additions and 542 deletions

View File

@@ -4351,6 +4351,10 @@ export function useAFFiNEI18N(): {
* `Open this doc`
*/
["com.affine.peek-view-controls.open-doc"](): string;
/**
* `Open in edgeless`
*/
["com.affine.peek-view-controls.open-doc-in-edgeless"](): string;
/**
* `Open in new tab`
*/

View File

@@ -1079,6 +1079,7 @@
"com.affine.payment.license-success.copy": "Copied key to clipboard",
"com.affine.peek-view-controls.close": "Close",
"com.affine.peek-view-controls.open-doc": "Open this doc",
"com.affine.peek-view-controls.open-doc-in-edgeless": "Open in edgeless",
"com.affine.peek-view-controls.open-doc-in-new-tab": "Open in new tab",
"com.affine.peek-view-controls.open-doc-in-split-view": "Open in split view",
"com.affine.peek-view-controls.open-info": "Open doc info",