PHP code example of mantix / livewire-jodit-text-editor

1. Go to this page and download the library: Download mantix/livewire-jodit-text-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/ */

    

mantix / livewire-jodit-text-editor example snippets


// This will update all Jodit editors on the page
$this->dispatch('update-jodit-content', $newContent);

// This will only update the editor with the specified identifier
$this->dispatch('update-jodit-content', ['description-editor', $newContent]);
bash
php artisan vendor:publish --tag=livewire-jodit-text-editor-views