PHP code example of todi1979 / cakephp3-froalaeditor
1. Go to this page and download the library: Download todi1979/cakephp3-froalaeditor 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/ */
todi1979 / cakephp3-froalaeditor example snippets
// Loads Froala Editor javascript also will load all the plugins and css for the plugins
<?= $this->Froala->plugin();
// '#comment' Represents the html element selector.
// 'array()' Represents the list of options that are passed to the editor.
$this->Froala->editor('#comment', array('minHeight => '200px', 'maxHeight' => '400px'));