feat(core): add block and element toolbar widget custom config (#7886)

Upstreams: https://github.com/toeverything/blocksuite/pull/8001 https://github.com/toeverything/blocksuite/pull/7964

* add block/element toolbar widget config
* add `Copy link to block` to `more menu` on  block/element toolbar

<img width="376" alt="Screenshot 2024-08-16 at 16 20 08" src="https://github.com/user-attachments/assets/49b41de9-39d1-4f55-ac9b-445fe020187a">
This commit is contained in:
fundon
2024-09-03 03:52:08 +00:00
parent ad110078ac
commit c3ae219992
7 changed files with 120 additions and 8 deletions
@@ -1,5 +1,5 @@
import type { DocMode } from '@blocksuite/blocks';
import { type DocMeta } from '@blocksuite/store';
import type { DocMeta } from '@blocksuite/store';
import { isEqual } from 'lodash-es';
import { distinctUntilChanged, Observable } from 'rxjs';