Skip to content

Commit

Permalink
탭 안에 코드블럭 넣을 수 있도록 함 (#1507)
Browse files Browse the repository at this point in the history
  • Loading branch information
devunt committed Dec 12, 2024
1 parent c59fbe9 commit 2bdd93b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/src/tiptap/node-views/tabs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export const Tabs = createNodeView(Component, {

export const Tab = Node.create({
name: 'tab',
content: '(paragraph|orderedList|bulletList|image|file|embed)+',
content: '(paragraph|orderedList|bulletList|image|file|embed|codeBlock)+',
isolating: true,

addAttributes() {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/tiptap/node-views/tabs/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Tabs = createServerNodeView({

export const Tab = Node.create({
name: 'tab',
content: '(paragraph|orderedList|bulletList|image|file|embed)+',
content: '(paragraph|orderedList|bulletList|image|file|embed|codeBlock)+',
isolating: true,

addAttributes() {
Expand Down

0 comments on commit 2bdd93b

Please sign in to comment.