ContentEditor.svelte view source
Focus the textarea element - exposed for parent components.
content
type
string bindable
token_count?
Estimated if not provided and show_stats is true.
type
number | undefinedoptional
placeholder?
type
string | null | undefinedoptional
readonly?
type
boolean | undefinedoptional
show_stats?
type
boolean | undefinedoptional
show_actions?
type
boolean | undefinedoptional
textarea_height?
type
string | undefinedoptional
focus_key?
type
string | number | null | undefinedoptional
pending_element_to_focus_key?
type
string | number | null | undefinedoptional bindable
attrs?
type
SvelteHTMLElements['textarea'] | undefinedoptional
after?
type
Snippet | undefinedoptional
children?
type
Snippet | undefinedoptional
onsave?
type
((value: string) => void) | undefinedoptional