Skip to content

Kirby 3.6.0

Writer

<k-writer>

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
autofocus
boolean
breaks
boolean
code
boolean
disabled
boolean
emptyDocument
object
{ type: "doc", content: [] }
extensions
array
headings
array|boolean
inline
boolean
false
marks
array|boolean
true
nodes
array|boolean
function() { return [ "heading", "bulletList", "orderedList" ]; }
paste
func
function() { return () => { return false; }; }
placeholder
string
spellcheck
boolean
value
string
""

Events

Event Description Passes
input

CSS classes

.k-writer