mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(editor): add code block clipboard extension (#11731)
Close [BS-3109](https://linear.app/affine-design/issue/BS-3109/code-block-不支援-markdown-語法)
This commit is contained in:
@@ -15,9 +15,9 @@ import { ClipboardAdapterConfigIdentifier } from './clipboard-adapter.js';
|
||||
import { onlyContainImgElement } from './utils.js';
|
||||
|
||||
export class Clipboard extends LifeCycleWatcher {
|
||||
static override readonly key = 'clipboard';
|
||||
static override key = 'clipboard';
|
||||
|
||||
private get _adapters() {
|
||||
protected get _adapters() {
|
||||
const adapterConfigs = this.std.provider.getAll(
|
||||
ClipboardAdapterConfigIdentifier
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user