PHP code example of amidesfahani / filament-tinyeditor
1. Go to this page and download the library: Download amidesfahani/filament-tinyeditor 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/ */
amidesfahani / filament-tinyeditor example snippets
use AmidEsfahani\FilamentTinyEditor\TinyEditor;
TinyEditor::make('content')
->fileAttachmentsDisk('public')
->fileAttachmentsVisibility('public')
->fileAttachmentsDirectory('uploads')
->profile('default|simple|full|minimal|none|custom')
->rtl() // Set RTL or use ->direction('auto|rtl|ltr')
->resize('both')
->columnSpan('full')
->