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