diff --git a/README.md b/README.md
index 30724c6..b7fe2ca 100644
--- a/README.md
+++ b/README.md
@@ -95,24 +95,6 @@ php artisan shield:super-admin
}
```
-
-### Ckeditor
-Пакет дает возможность использовать текстовый редактор [CKEditor](https://ckeditor.com/docs/ckeditor5/latest/installation/integrations/laravel.html) c расширением [CKFinder]()https://ckeditor.com/ckfinder/
- для работы с изображением и файлами
-Пример использования:
-```php
- // Filament/Resources/Resource.php
- public static function form(Form $form): Form
- {
- return $form->schema([
- // other fields ...
- CkeditorField::make('description')
- ->columnSpan('full')
- ->label('description')
- ]);
- }
-```
-
### Middlewares
#### SetLocaleFromAcceptLanguageHeader
diff --git a/composer.json b/composer.json
index d3dfd5f..d857096 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,6 @@
"require": {
"php": "^8.1",
"bezhansalleh/filament-shield": "^3.0",
- "ckfinder/ckfinder-laravel-package": "^4.0",
"filament/filament": "^3.0-stable",
"filament/spatie-laravel-media-library-plugin": "^3.0-stable",
"filament/spatie-laravel-translatable-plugin": "^3.0-stable",
diff --git a/config/ckfinder.php b/config/ckfinder.php
deleted file mode 100644
index 91de73f..0000000
--- a/config/ckfinder.php
+++ /dev/null
@@ -1,190 +0,0 @@
- 'laravel_cache',
- 'tags' => 'ckfinder/tags',
- 'cache' => 'ckfinder/cache',
- 'thumbs' => 'ckfinder/cache/thumbs',
- 'logs' => [
- 'backend' => 'laravel_logs',
- 'path' => 'ckfinder/logs',
- ],
-];
-
-/*============================ Images and Thumbnails ==================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_images
-
-$config['images'] = [
- 'maxWidth' => 1600,
- 'maxHeight' => 1200,
- 'quality' => 80,
- 'sizes' => [
- 'small' => ['width' => 480, 'height' => 320, 'quality' => 80],
- 'medium' => ['width' => 600, 'height' => 480, 'quality' => 80],
- 'large' => ['width' => 800, 'height' => 600, 'quality' => 80],
- ],
-];
-
-/*=================================== Backends ========================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_backends
-
-// The two backends defined below are internal CKFinder backends for cache and logs.
-// Plase do not change these, unless you really want it.
-$config['backends']['laravel_cache'] = [
- 'name' => 'laravel_cache',
- 'adapter' => 'local',
- 'root' => storage_path('framework/cache'),
-];
-
-$config['backends']['laravel_logs'] = [
- 'name' => 'laravel_logs',
- 'adapter' => 'local',
- 'root' => storage_path('logs'),
-];
-
-// Backends
-
-$config['backends']['default'] = [
- 'name' => 'default',
- 'adapter' => 'local',
- 'baseUrl' => config('app.url').'/userfiles/',
- 'root' => public_path('/userfiles/'),
- 'chmodFiles' => 0777,
- 'chmodFolders' => 0755,
- 'filesystemEncoding' => 'UTF-8',
-];
-
-/*================================ Resource Types =====================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_resourceTypes
-
-$config['defaultResourceTypes'] = '';
-
-$config['resourceTypes'][] = [
- 'name' => 'Files', // Single quotes not allowed.
- 'directory' => 'files',
- 'maxSize' => 0,
- 'allowedExtensions' => '7z,aiff,asf,avi,bmp,csv,doc,docx,fla,flv,gif,gz,gzip,jpeg,jpg,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pdf,png,ppt,pptx,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv,xls,xlsx,zip',
- 'deniedExtensions' => '',
- 'backend' => 'default',
-];
-
-$config['resourceTypes'][] = [
- 'name' => 'Images',
- 'directory' => 'images',
- 'maxSize' => 0,
- 'allowedExtensions' => 'bmp,gif,jpeg,jpg,png',
- 'deniedExtensions' => '',
- 'backend' => 'default',
-];
-
-/*================================ Access Control =====================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_roleSessionVar
-
-$config['roleSessionVar'] = 'CKFinder_UserRole';
-
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_accessControl
-$config['accessControl'][] = [
- 'role' => '*',
- 'resourceType' => '*',
- 'folder' => '/',
-
- 'FOLDER_VIEW' => true,
- 'FOLDER_CREATE' => true,
- 'FOLDER_RENAME' => true,
- 'FOLDER_DELETE' => true,
-
- 'FILE_VIEW' => true,
- 'FILE_UPLOAD' => true,
- 'FILE_RENAME' => true,
- 'FILE_DELETE' => true,
-
- 'IMAGE_RESIZE' => true,
- 'IMAGE_RESIZE_CUSTOM' => true,
-];
-
-/*================================ Other Settings =====================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html
-
-$config['overwriteOnUpload'] = false;
-$config['checkDoubleExtension'] = true;
-$config['disallowUnsafeCharacters'] = false;
-$config['secureImageUploads'] = true;
-$config['checkSizeAfterScaling'] = true;
-$config['htmlExtensions'] = ['html', 'htm', 'xml', 'js'];
-$config['hideFolders'] = ['.*', 'CVS', '__thumbs'];
-$config['hideFiles'] = ['.*'];
-$config['forceAscii'] = false;
-$config['xSendfile'] = false;
-
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_debug
-$config['debug'] = false;
-
-/*==================================== Plugins ========================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_plugins
-
-$config['plugins'] = [];
-
-/*================================ Cache settings =====================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_cache
-
-$config['cache'] = [
- 'imagePreview' => 24 * 3600,
- 'thumbnails' => 24 * 3600 * 365,
-];
-
-/*============================ Temp Directory settings ================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_tempDirectory
-
-$config['tempDirectory'] = sys_get_temp_dir();
-
-/*============================ Session Cause Performance Issues =======================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_sessionWriteClose
-
-$config['sessionWriteClose'] = true;
-
-/*================================= CSRF protection ===================================*/
-// http://docs.cksource.com/ckfinder3-php/configuration.html#configuration_options_csrfProtection
-
-$config['csrfProtection'] = true;
-
-/*============================== End of Configuration =================================*/
-
-/**
- * Config must be returned - do not change it.
- */
-return $config;
diff --git a/public/js/ckeditor/ckeditor5.js b/public/js/ckeditor/ckeditor5.js
deleted file mode 100644
index f34ce7e..0000000
--- a/public/js/ckeditor/ckeditor5.js
+++ /dev/null
@@ -1,170 +0,0 @@
-CKEDITOR.ClassicEditor.create(document.getElementById("editor"), {
- // extraPlugins: [CKFinder],
- // plugins: [CKFinder],
- // https://ckeditor.com/docs/ckeditor5/latest/features/toolbar/toolbar.html#extended-toolbar-configuration-format
- toolbar: {
- items: [
- 'undo', 'redo',
- 'heading', '|',
- 'bold', 'italic', 'strikethrough', 'underline', 'code', 'subscript', 'superscript', 'removeFormat', '|',
- 'bulletedList', 'numberedList', 'todoList', '|',
- 'outdent', 'indent', '|',
- '-',
- 'fontSize', 'fontFamily', 'fontColor', 'fontBackgroundColor', 'highlight:yellowMarker', 'highlight:greenMarker', 'highlight:pinkMarker', 'highlight:blueMarker', 'removeHighlight', '|',
- 'alignment', '|',
- 'link', 'blockQuote', 'insertTable', 'mediaEmbed', 'htmlEmbed', '|',
- 'specialCharacters', 'horizontalLine', '|',
- 'sourceEditing', 'insertImage', 'ckfinder'
- ],
- shouldNotGroupWhenFull: true
- },
-ckfinder: {
- // uploadUrl: '{{ route('ckfinder_connector') }}?command=QuickUpload&type=Files',
- // browseUrl: '{{ route('ckfinder_browser') }}',
- options: {
- resourceType: 'Images'
- },
- openerMethod: 'modal'
-},
-table: {
- contentToolbar: [
- 'tableColumn', 'tableRow', 'mergeTableCells',
- 'tableProperties', 'tableCellProperties'
- ],
-
- // Configuration of the TableProperties plugin.
- tableProperties: {
- // ...
- },
-
- // Configuration of the TableCellProperties plugin.
- tableCellProperties: {
- // ...
- }
-},
-// Changing the language of the interface requires loading the language file using the
-
-
-