Textarea

The textarea field can be used when you want to allow user input more than one line of text.

{
    "name": "copyrightNote",
    "label": "Copyright note",
    "group": "Footer",
    "value": "",
    "type": "textarea",
    "rows": 50,
    "cols": 100,
    "disabled": false
}

Above code will generate the field available as @config.custom.copyrightNote under Footer tab in the theme's custom settings. The generated textarea element will have attributes rows and cols set to the provided values.

Textarea

Create your first website with Publii

Join thousands of creators who chose independence. Create content locally and publish lightning-fast, secure websites on your own terms.

Download Publii

Free and open source. Windows, macOS and Linux.

Read the getting started guide