mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
Move to TanStack Start from Next.js (#184)
This commit is contained in:
14
web/shared/la-editor/extensions/bullet-list/bullet-list.ts
Normal file
14
web/shared/la-editor/extensions/bullet-list/bullet-list.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { BulletList as TiptapBulletList } from "@tiptap/extension-bullet-list"
|
||||
|
||||
export const BulletList = TiptapBulletList.extend({
|
||||
addOptions() {
|
||||
return {
|
||||
...this.parent?.(),
|
||||
HTMLAttributes: {
|
||||
class: "list-node",
|
||||
},
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
export default BulletList
|
||||
1
web/shared/la-editor/extensions/bullet-list/index.ts
Normal file
1
web/shared/la-editor/extensions/bullet-list/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./bullet-list"
|
||||
Reference in New Issue
Block a user