You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I looked at the embed-linked-doc source code, which includes handleDoubleClick and handleClick, They come from this.std.getConfig('affine:embed-linked-doc'), and my question is whether there is a function like setConfig that allows me to pass functions
The text was updated successfully, but these errors were encountered:
We use a extension architecture with dependency injection, and we provide a simple config extension implement in packages/affine/block-embed/src/embed-linked-doc-block/embed-linked-doc-config.ts. Here is a example:
I looked at the embed-linked-doc source code, which includes handleDoubleClick and handleClick, They come from this.std.getConfig('affine:embed-linked-doc'), and my question is whether there is a function like setConfig that allows me to pass functions
The text was updated successfully, but these errors were encountered: