Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 0 additions & 106 deletions apps/DocFlow/src/extensions/Bilibili/Bilibili.ts

This file was deleted.

163 changes: 0 additions & 163 deletions apps/DocFlow/src/extensions/Bilibili/BilibiliDialog.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions apps/DocFlow/src/extensions/SlashCommand/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,17 +210,6 @@ export const GROUPS: Group[] = [
window.dispatchEvent(event);
},
},
{
name: 'bilibili',
label: 'Bilibili Video',
iconName: 'Tv',
description: 'Insert a Bilibili video',
aliases: ['bili'],
action: (editor) => {
const event = new CustomEvent('openBilibiliDialog', { detail: { editor } });
window.dispatchEvent(event);
},
},
{
name: 'chart',
label: 'Chart',
Expand Down
2 changes: 0 additions & 2 deletions apps/DocFlow/src/extensions/extension-kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ import {
FileHandler,
Youtube,
ClearMarksOnEnter,
Bilibili,
Chart,
Countdown,
Mention,
Expand Down Expand Up @@ -410,7 +409,6 @@ export const ExtensionKit = ({ provider }: ExtensionKitProps) => [
},
}),
ClearMarksOnEnter,
Bilibili,
Chart,
Countdown,
Mention.configure({
Expand Down
1 change: 0 additions & 1 deletion apps/DocFlow/src/extensions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ export { JsonPaste } from './JsonPaste';
export { SelectOnlyCode } from './CodeBlock/SelectOnlyCode';
export { Youtube } from './Youtube';
export { ClearMarksOnEnter } from './ClearMarksOnEnter';
export { BilibiliExtension as Bilibili } from './Bilibili/Bilibili';
export { Chart } from './Chart';
export { Countdown } from './Countdown';
export { Comment } from './Comment';
Expand Down
2 changes: 0 additions & 2 deletions apps/DocFlow/src/utils/editor/is-custom-node-selected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
ImageUpload,
Link,
CodeBlock,
Bilibili,
Chart,
Table,
TableCell,
Expand Down Expand Up @@ -57,7 +56,6 @@ export function isCustomNodeSelected(editor: Editor, node: HTMLElement): boolean
Link.name,
Figcaption.name,
TableOfContentsNode.name,
Bilibili.name,
Chart.name,
Table.name,
TableCell.name,
Expand Down
Loading