feat: add button to puff
This commit is contained in:
@@ -2,12 +2,18 @@ import type { Image } from "../image"
|
||||
import type { Edges } from "./utils/edges"
|
||||
import type { RTEDocument } from "../rte/node"
|
||||
|
||||
export enum PuffStyleEnum {
|
||||
button = "button",
|
||||
default = "default",
|
||||
}
|
||||
|
||||
export type Puff = {
|
||||
imageConnection: Edges<Image>
|
||||
link: {
|
||||
href: string
|
||||
title: string
|
||||
}
|
||||
puff_style: PuffStyleEnum
|
||||
text: {
|
||||
json: RTEDocument
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user