PHP code example of kahusoftware / filament-ckeditor-field
1. Go to this page and download the library: Download kahusoftware/filament-ckeditor-field 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/ */
kahusoftware / filament-ckeditor-field example snippets
return [
/**
* Image upload enabled
*
* WARNING: Setting this to false will use CKEditor's default Base64 upload method which is HIGHLY INEFFICIENT.
* https://ckeditor.com/docs/ckeditor5/latest/features/images/image-upload/image-upload.html#base64-adapter
*/
'upload_enabled' => true,
/**
* Image URL to upload to if one is not specified on the form field's ->uploadUrl() method
*/
'upload_url' => null,
];
use Kahusoftware\FilamentCkeditorField\CKEditor;
CKEditor::make('content')
->uploadUrl(null)