feat: add imagevault images to RTE
This commit is contained in:
+9
-1
@@ -1,6 +1,8 @@
|
||||
import { InsertResponse } from "../components/imageVaultImage"
|
||||
import { RTEItemTypeEnum } from "./enums"
|
||||
import type { EmbedTypesEnum, RTEItemType } from "./enums"
|
||||
|
||||
import type { Lang } from "@/constants/languages"
|
||||
import type { EmbedTypesEnum, RTEItemType } from "./enums"
|
||||
|
||||
export interface Attributes {
|
||||
[key: string]: any
|
||||
@@ -36,3 +38,9 @@ export interface RTELinkAttrs extends Attributes {
|
||||
target: HTMLAnchorElement["target"]
|
||||
type: RTEItemTypeEnum.entry
|
||||
}
|
||||
|
||||
export interface RTEImageVaultAttrs extends Attributes, InsertResponse {
|
||||
height: string
|
||||
width: string
|
||||
style: string[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user