ui(client): add insertHtml for MduiPatchedTextArea

This commit is contained in:
CrescentLeaf
2026-01-24 00:11:19 +08:00
parent 01ece27e75
commit 9e3c1c554f
2 changed files with 10 additions and 1 deletions

3
client/env.d.ts vendored
View File

@@ -6,8 +6,9 @@ declare global {
namespace React {
namespace JSX {
interface IntrinsicElements {
'input-element': {
'mdui-patched-textarea': {
'value'?: string
insertHtml: (html: string) => void
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>
}
}