UIFieldEditor

An editor component that lets the user edit text fields on a node.

See: UIDatetimeFieldEditor for datetime editing

Properties

Example

import {UIFieldEditor} from 'writer'

render($$) {
    const el = $$('div')
    return el.append(
        $$(UIFieldEditor, {
            node: this.props.node,
            multiLine: false,
            field: 'title',
            placeholder: this.getLabel('Add title here')
        })
    )
}

Last updated