Text Editor

The setting field type Text Editor

Arguments

Name

Type

Value

Description

type

string

text

The type of setting

name

string

{field_name}

The unique name will be used in template

label

string

(optional)

The label that appears above of the setting field.

description

string

(optional)

The description that appears above under of the setting field.

tooltip

string

(optional)

The long description that appears on the tooltip when hover on.

value

string

(optional)

The default value will be used for the first time.

on

Object

(optional)

Add listener events for setting field (Supported all event )

Code example

@schema
{
	"name"		: "Text Editor",
	"author"	: "LayoutHub Team",
	"website"	: "https://www.LayoutHub.com"
}
@endschema


<div class="sample-demo">
	
	@print(section.settings.content)
	
</div>

How it works

Last updated