Skip to content

Commit e479d04

Browse files
Vlad HladkoVlad Hladko
Vlad Hladko
authored and
Vlad Hladko
committed
fix: add missing plaintext-only value to contenteditable type
1 parent fa89421 commit e479d04

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/slimy-comics-switch.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: add missing plaintext-only value to contenteditable type

packages/svelte/elements.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ export interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, D
486486
accesskey?: string | undefined | null;
487487
autofocus?: boolean | undefined | null;
488488
class?: string | undefined | null;
489-
contenteditable?: Booleanish | 'inherit' | undefined | null;
489+
contenteditable?: Booleanish | 'inherit' | 'plaintext-only' | undefined | null;
490490
contextmenu?: string | undefined | null;
491491
dir?: string | undefined | null;
492492
draggable?: Booleanish | undefined | null;

0 commit comments

Comments
 (0)