Skip to content

Commit

Permalink
fix: solving the issue of filtered text expansion for linked cards (#11)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/kind bug

#### What this PR does / why we need it:

为 text bubble Extension 增加 name

#### Does this PR introduce a user-facing change?
```release-note
解决 TextBubbleExtension 被错误过滤的问题
```
  • Loading branch information
LIlGG authored Sep 2, 2024
1 parent d8d5fda commit e7749cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/editor/text-bubble-extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { markRaw } from 'vue';
import linkViewTypes from './link-view-type';

const TextBubbleExtension = Extension.create({
name: 'textHyperlinkCardExtension',

onBeforeCreate() {
const itemKey = 'export-text-link-view';
this.editor.extensionManager.extensions.forEach((extension) => {
Expand Down

0 comments on commit e7749cd

Please sign in to comment.