fix(core): text-renderer should be readonly (#9244)

fix AF-2010, AF-2009
This commit is contained in:
pengx17
2024-12-23 04:19:06 +00:00
parent 97e448fc57
commit c775b2e264
4 changed files with 14 additions and 1 deletions
@@ -98,6 +98,7 @@ export const linkPreviewContainer = style({
});
export const linkPreview = style({
cursor: 'default',
border: `0.5px solid ${cssVarV2('backlinks/blockBorder')}`,
borderRadius: '8px',
padding: '8px',
@@ -111,6 +112,10 @@ export const linkPreview = style({
},
});
globalStyle(`${linkPreview} *`, {
cursor: 'default',
});
export const linkPreviewRenderer = style({
cursor: 'pointer',
});