kkit / orchid-tinymce-field
Orchid TinyMCE field
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: ^8.1
- orchid/platform: ^13.0
Requires (Dev)
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2025-03-05 04:56:00 UTC
README
Install via composer:
composer require kkit/orchid-tinymce-field
Usage
It easy. Add to you row layout class:
use kkit\OrchidTinyMCEField\TinyMCE; TinyMCE::make('tinymce');
Avaialble methods:
TinyMCE::make('tinymce') ->config([ //TinyMCE config ]) ->uploadEndpoint('') // You image upload custom endpoint ->uploadStorage('') // Upload storage ->uploadGroup('') // Upload group ->uploadMaxFileSize(1000) // in kb ->uploadMaxFileErrorMessage('Слишком большой размер файла'); // Custom error message