PHP code example of craft-cloud / nova-ck-light
1. Go to this page and download the library: Download craft-cloud/nova-ck-light library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
craft-cloud / nova-ck-light example snippets
use CraftCloud\NovaCkLight\NovaCkLight;
NovaCkLight::make('MyFieldName'),
use CraftCloud\NovaCkLight\NovaCkLight;
NovaCkLight::make('MyFieldName')->toolbar(['heading', '|', 'bold', 'italic', 'link']),
use CraftCloud\NovaCkLight\NovaCkLight;
NovaCkLight::make('MyFieldName')->imageOnly(),