{"id":13532339,"url":"https://github.com/Ghost-die/ckeditor","last_synced_at":"2025-04-01T20:32:01.770Z","repository":{"id":56983135,"uuid":"232092657","full_name":"ghost-die/ckeditor","owner":"ghost-die","description":"CKEditor 5 集成laravel-admin","archived":false,"fork":false,"pushed_at":"2020-04-22T15:58:29.000Z","size":1274,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T08:42:17.396Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ghost-die.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-06T12:06:10.000Z","updated_at":"2021-11-09T02:19:22.000Z","dependencies_parsed_at":"2022-08-21T08:30:06.415Z","dependency_job_id":null,"html_url":"https://github.com/ghost-die/ckeditor","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-die%2Fckeditor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-die%2Fckeditor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-die%2Fckeditor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghost-die%2Fckeditor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghost-die","download_url":"https://codeload.github.com/ghost-die/ckeditor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709923,"owners_count":20821297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:01:10.242Z","updated_at":"2025-04-01T20:31:56.759Z","avatar_url":"https://github.com/ghost-die.png","language":"CSS","funding_links":[],"categories":["扩展包"],"sub_categories":["字段类扩展包"],"readme":"CKEditor 5 集成laravel-admin\n======\n\n## Installation\n\n```bash\ncomposer require ghost/ckeditor\n```\n\nThen\n```bash\nphp artisan vendor:publish --tag=ghost-ckeditor\n```\n\n## Configuration\n\nIn the `extensions` section of the `config/admin.php` file, add some configuration that belongs to this extension.\n```php\n\n    'ckeditor' =\u003e [\n    \t\t\n    \t\t    //Set to false if you want to disable this extension\n    \t\t    'enable' =\u003e true,\n    \t\t\n    \t\t    // Editor configuration\n    \t\t    'config' =\u003e [\n    \t\t\t   \"simpleUpload\"=\u003e[\n    \t\t\t   \t    \"uploadUrl\"=\u003e'/admin/uploads'\n    \t\t\t   ],\n    \t\t\t    \"fontSize\" =\u003e [\n    \t\t\t    \t\"options\" =\u003e[\n    \t\t\t\t\t    9,\n    \t\t\t\t\t    11,\n    \t\t\t\t\t    13,\n    \t\t\t\t\t    'default',\n    \t\t\t\t\t    17,\n    \t\t\t\t\t    19,\n    \t\t\t\t\t    21\n    \t\t\t\t    ]\n    \t\t\t    ],\n    \t\t\t    \"toolbar\"=\u003e[\n    \t\t\t    \t\"items\"=\u003e[\n    \t\t\t\t\t    'heading',\n    \t\t\t\t\t    'fontFamily',\n    \t\t\t\t\t    'fontSize',\n    \t\t\t\t\t    'fontColor',\n    \t\t\t\t\t    'fontBackgroundColor',\n    \t\t\t\t\t    'bold',\n    \t\t\t\t\t    'italic',\n    \t\t\t\t\t    'link',\n    \t\t\t\t\t    'bulletedList',\n    \t\t\t\t\t    'numberedList',\n    \t\t\t\t\t    '|',\n    \t\t\t\t\t    'indent',\n    \t\t\t\t\t    'outdent',\n    \t\t\t\t\t    '|',\n    \t\t\t\t\t    'imageUpload',\n    \t\t\t\t\t    'blockQuote',\n    \t\t\t\t\t    'insertTable',\n    \t\t\t\t\t    'mediaEmbed',\n    \t\t\t\t\t    'undo',\n    \t\t\t\t\t    'redo'\n    \t\t\t\t    ]\n    \t\t\t    ],\n    \t\t\t    'image'=\u003e[\n    \t\t\t    \t'toolbar'=\u003e['imageTextAlternative', '|', 'imageStyle:alignLeft', 'imageStyle:full', 'imageStyle:alignRight'],\n    \t\t\t\t    'resizeUnit'=\u003e'px',\n    \t\t\t\t    'styles'=\u003e[\n    \t\t\t\t\t    // This option is equal to a situation where no style is applied.\n    \t\t\t\t\t    'full',\n    \t\t\t\t\t\n    \t\t\t\t\t    'side',\n    \t\t\t\t\t    // This represents an image aligned to the left.\n    \t\t\t\t\t    'alignLeft',\n    \t\t\t\t\t    'alignCenter',\n    \t\t\t\t\t    // This represents an image aligned to the right.\n    \t\t\t\t\t    'alignRight'\n    \t\t\t\t    ]\n    \t\t\t    ],\n    \t\t\t    \n    \t\t\t    \"table\" =\u003e[\n    \t\t\t    \t'contentToolbar'=\u003e[\n    \t\t\t\t\t    'tableColumn',\n    \t\t\t\t\t    'tableRow',\n    \t\t\t\t\t    'mergeTableCells'\n    \t\t\t\t    ]\n    \t\t\t    ],\n    \t\t\t    'language'=\u003e'zh-cn',\n    \t\t    \n    \t\t    ]\n    \t    ]\n\n```\n\n## Usage\n\n```php\nForm::extend('editor', \\ghost\\CKEditor\\Editor::class);\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGhost-die%2Fckeditor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGhost-die%2Fckeditor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGhost-die%2Fckeditor/lists"}