Skip to content

Kirby 3.8.4

Writer field

<k-writer-field>

This UI component hasn't been finalized yet. The functionality and syntax aren't stable and might be redone in an upcoming release. Only use it at your own risk - breaking changes are likely to occur.

Props

Prop Type Default Description
after
string
autofocus
boolean
before
string
breaks
boolean
code
boolean
counter
boolean|object
disabled
boolean
emptyDocument
object
{ type: "doc", content: [] }
endpoints
object
extensions
array
headings
array|boolean
help
string
icon
string|boolean
inline
boolean
false
input
string|number
invalid
boolean
label
string
marks
array|boolean
true
name
number|string
nodes
array|boolean
function() { return ["heading", "bulletList", "orderedList"]; }
novalidate
boolean
false
paste
func
function() { return () => { return false; }; }
placeholder
string
required
boolean
spellcheck
boolean
theme
string
translate
boolean
type
string
value
string
""

Events

Event Description Passes
blur
focus
input

Slots

Slot Description
after
before
counter
default
footer
header
help
icon
label
options

CSS classes

.k-writer-field