PHP code example of asayhome / asay-editor

1. Go to this page and download the library: Download asayhome/asay-editor 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/ */

    

asayhome / asay-editor example snippets


 protected $listeners = ['textChange'];

 public function textChange($content)
    {
        ...
    }

php artisan vendor:publish --tag=asayeditor-config

php artisan vendor:publish --tag=asayeditor-lang

php artisan vendor:publish --tag=asayeditor-views

php artisan vendor:publish --tag=asayeditor-assets