{"id":28633507,"url":"https://github.com/ckeditor/ckeditor4-presets","last_synced_at":"2025-06-12T15:08:42.632Z","repository":{"id":5898056,"uuid":"7116610","full_name":"ckeditor/ckeditor4-presets","owner":"ckeditor","description":"CKEditor 4 presets builder.","archived":false,"fork":false,"pushed_at":"2025-02-05T09:03:24.000Z","size":589,"stargazers_count":17,"open_issues_count":3,"forks_count":26,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-23T13:02:23.585Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckeditor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-11T17:58:53.000Z","updated_at":"2025-02-05T08:55:36.000Z","dependencies_parsed_at":"2023-01-11T17:01:46.359Z","dependency_job_id":"e2311e28-199b-4372-a4f5-17bbf838fd30","html_url":"https://github.com/ckeditor/ckeditor4-presets","commit_stats":null,"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"purl":"pkg:github/ckeditor/ckeditor4-presets","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckeditor%2Fckeditor4-presets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckeditor%2Fckeditor4-presets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckeditor%2Fckeditor4-presets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckeditor%2Fckeditor4-presets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckeditor","download_url":"https://codeload.github.com/ckeditor/ckeditor4-presets/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckeditor%2Fckeditor4-presets/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490549,"owners_count":22865767,"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":"2025-06-12T15:08:37.416Z","updated_at":"2025-06-12T15:08:42.617Z","avatar_url":"https://github.com/ckeditor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"CKEditor 4 Presets Builder\n==========================\n\n## ⚠️ CKEditor 4: End of Life and Extended Support Model until Dec 2028\n\nCKEditor 4 was launched in 2012 and reached its End of Life (EOL) on June 30, 2023.\n\nA special edition, **[CKEditor 4 LTS](https://ckeditor.com/ckeditor-4-support/)** (\"Long Term Support\"), is available under commercial terms ([\"Extended Support Model\"](https://ckeditor.com/ckeditor-4-support/)) for anyone looking to **extend the coverage of security updates and critical bug fixes**.\n\nWith CKEditor 4 LTS, security updates and critical bug fixes are guaranteed until December 2028.\n\n## About this repository\n\nThis builder is a tool that creates CKEditor release files for the main \"preset\" configurations officially distributed at \u003chttps://ckeditor.com/\u003e. It is targeted to the CKEditor core team, to test the preset builds, to update the ckeditor.com website on new releases and to generate the [nightly builds](https://nightly.ckeditor.com/).\n\nA preset is a CKEditor configuration for building that includes a specific set of plugins. Currently, there are 3 presets defined: **standard**, **basic** and **full**.\n\nThe original source code from the official CKEditor repositories is used for the build.\n\n## Cloning this Code\n\nTo clone this code:\n\n\t\u003e git clone https://github.com/ckeditor/ckeditor4-presets.git\n\nThen, the registered submodules need to be updated:\n\n\t\u003e git submodule update --init\n\n## Running the Builder\n\nThe `build.sh` is the only file you should care about. It downloads CKBuilder, if necessary, and execute the building process.\n\nThis is the command syntax:\n\n\t\u003e build.sh standard|basic|full [all]\n\nThe optional \"all\" argument tells the builder to include all plugins available in the `ckeditor4` repository, even if they're not included in the preset.\n\nThe build will be then created in the `build/[preset name]` folder.\n\nExamples:\n\n\t\u003e # Build a \"standard\" release.\n\t\u003e build.sh standard\n\n\t\u003e # Build a \"basic\" release, including all plugins available.\n\t\u003e build.sh basic all\n\n## Creating custom Presets\n\nApart from using predefined presets, you can create a custom preset manually and use it with the `build.sh` script. As an example, let's create a preset including basic configuration with the [Editor Placeholder](https://ckeditor.com/cke4/addon/editorplaceholder) plugin.\n\n### 1. Adding the build configuration file\n\nCreate a builder configuration file at `presets/custom-build-config.js`:\n\n```js\nvar CKBUILDER_CONFIG = {\n\tskin: 'moono-lisa',\n\tignore: [\n\t\t'bender.js',\n\t\t'bender.ci.js',\n\t\t'.bender',\n\t\t'bender-err.log',\n\t\t'bender-out.log',\n\t\t'.travis.yml',\n\t\t'dev',\n\t\t'.DS_Store',\n\t\t'.editorconfig',\n\t\t'.github',\n\t\t'.gitignore',\n\t\t'.gitattributes',\n\t\t'gruntfile.js',\n\t\t'.idea',\n\t\t'.jscsrc',\n\t\t'.jshintignore',\n\t\t'.jshintrc',\n\t\t'less',\n\t\t'.mailmap',\n\t\t'node_modules',\n\t\t'.npm',\n\t\t'.nvmrc',\n\t\t'package.json',\n\t\t'package-lock.json',\n\t\t'README.md',\n\t\t'tests'\n\t],\n\tplugins: {\n\t\tabout: 1,\n\t\tbasicstyles: 1,\n\t\tclipboard: 1,\n\t\tfloatingspace: 1,\n\t\tlist: 1,\n\t\tindentlist: 1,\n\t\tenterkey: 1,\n\t\tentities: 1,\n\t\tlink: 1,\n\t\teditorplaceholder: 1,\n\t\ttoolbar: 1,\n\t\tundo: 1,\n\t\twysiwygarea: 1\n\t}\n};\n```\n\n### 2. Adding the editor configuration file\n\nCreate an editor configuration file at `presets/custom-ckeditor-config.js`:\n\n```js\nCKEDITOR.editorConfig = function( config ) {\n\t// The toolbar groups arrangement, optimized for a single toolbar row.\n\tconfig.toolbarGroups = [\n\t\t{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },\n\t\t{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },\n\t\t{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },\n\t\t{ name: 'forms' },\n\t\t{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },\n\t\t{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },\n\t\t{ name: 'links' },\n\t\t{ name: 'insert' },\n\t\t{ name: 'styles' },\n\t\t{ name: 'colors' },\n\t\t{ name: 'tools' },\n\t\t{ name: 'others' },\n\t\t{ name: 'about' }\n\t];\n\n\t// The default plugins included in the basic setup define some toolbar buttons that\n\t// are not needed in a basic editor. These are removed here.\n\tconfig.removeButtons = 'Cut,Copy,Paste,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript';\n\n\t// Dialog windows are also simplified.\n\tconfig.removeDialogTabs = 'link:advanced';\n\n\t// Finally, configure editor placeholder text.\n\tconfig.editorplaceholder = 'Type something here...';\n};\n```\n\n### 3. Building a custom preset\n\nRun `build.sh` file:\n\n\t\u003e # Build a custom \"custom\" preset.\n\t\u003e build.sh custom\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckeditor%2Fckeditor4-presets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckeditor%2Fckeditor4-presets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckeditor%2Fckeditor4-presets/lists"}