mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +08:00
feat(core): remove preview footnote hover effect config (#11695)
Close [BS-3115](https://linear.app/affine-design/issue/BS-3115/侧边栏-footnote-ui-和用户行为与编辑器内统一)
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
import { FootNoteNodeConfigExtension } from '@blocksuite/affine/inlines/footnote';
|
||||
import type { SpecBuilder } from '@blocksuite/affine/shared/utils';
|
||||
|
||||
// Disable hover effect for footnote node
|
||||
const disableHoverEffectConfig = {
|
||||
disableHoverEffect: true,
|
||||
};
|
||||
|
||||
export function enableFootnoteConfigExtension(
|
||||
specBuilder: SpecBuilder,
|
||||
config = disableHoverEffectConfig
|
||||
) {
|
||||
const footNoteConfig = FootNoteNodeConfigExtension(config);
|
||||
return specBuilder.extend([footNoteConfig]);
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
export * from './entry/enable-affine';
|
||||
export * from './entry/enable-mobile';
|
||||
export * from './footnote-config';
|
||||
|
||||
Reference in New Issue
Block a user