{"id":21059748,"url":"https://github.com/cdubz/ckeditor5-source-editing-codemirror","last_synced_at":"2026-04-13T18:32:31.795Z","repository":{"id":59119418,"uuid":"535445742","full_name":"cdubz/ckeditor5-source-editing-codemirror","owner":"cdubz","description":"CodeMirror 5 syntax highlighting in CKEditor 5 source editing mode.","archived":false,"fork":false,"pushed_at":"2025-07-08T16:58:28.000Z","size":288,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-28T06:21:48.654Z","etag":null,"topics":["ckeditor5","ckeditor5-dll","ckeditor5-feature","ckeditor5-plugin","codemirror"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@cdubz/ckeditor5-source-editing-codemirror","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cdubz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-11T22:50:56.000Z","updated_at":"2025-07-08T16:58:33.000Z","dependencies_parsed_at":"2023-01-18T04:15:38.723Z","dependency_job_id":null,"html_url":"https://github.com/cdubz/ckeditor5-source-editing-codemirror","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cdubz/ckeditor5-source-editing-codemirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdubz%2Fckeditor5-source-editing-codemirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdubz%2Fckeditor5-source-editing-codemirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdubz%2Fckeditor5-source-editing-codemirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdubz%2Fckeditor5-source-editing-codemirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdubz","download_url":"https://codeload.github.com/cdubz/ckeditor5-source-editing-codemirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdubz%2Fckeditor5-source-editing-codemirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31766456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ckeditor5","ckeditor5-dll","ckeditor5-feature","ckeditor5-plugin","codemirror"],"created_at":"2024-11-19T17:13:02.006Z","updated_at":"2026-04-13T18:32:31.776Z","avatar_url":"https://github.com/cdubz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"CKEditor 5 CodeMirror feature\n=============================\n\n[![npm version](https://badge.fury.io/js/@cdubz%2Fckeditor5-source-editing-codemirror.svg)](https://www.npmjs.com/package/@cdubz/ckeditor5-source-editing-codemirror)\n\nProvides source editing formatting using [CodeMirror 5](https://codemirror.net/5/).\n\nThis package was created by the [ckeditor5-package-generator](https://www.npmjs.com/package/ckeditor5-package-generator) package.\n\n## Table of contents\n\n* [Developing the package](#developing-the-package)\n* [Available scripts](#available-scripts)\n  * [`start`](#start)\n  * [`test`](#test)\n  * [`lint`](#lint)\n  * [`stylelint`](#stylelint)\n  * [`dll:build`](#dllbuild)\n  * [`dll:serve`](#dllserve)\n  * [`translations:collect`](#translationscollect)\n  * [`translations:download`](#translationsdownload)\n  * [`translations:upload`](#translationsupload)\n* [License](#license)\n\n## Developing the package\n\nTo read about the CKEditor 5 framework, visit the [CKEditor5 documentation](https://ckeditor.com/docs/ckeditor5/latest/framework/index.html).\n\n## Available scripts\n\nNpm scripts are a convenient way to provide commands in a project. They are defined in the `package.json` file and shared with other people contributing to the project. It ensures that developers use the same command with the same options (flags).\n\nAll the scripts can be executed by running `npm run \u003cscript\u003e`. Pre and post commands with matching names will be run for those as well.\n\nThe following scripts are available in the package.\n\n### `start`\n\nStarts a HTTP server with the live-reload mechanism that allows previewing and testing plugins available in the package.\n\nWhen the server has been started, the default browser will open the developer sample. This can be disabled by passing the `--no-open` option to that command.\n\nYou can also define the language that will translate the created editor by specifying the `--language [LANG]` option. It defaults to `'en'`.\n\nExamples:\n\n```bash\n# Starts the server and open the browser.\nnpm run start\n\n# Disable auto-opening the browser.\nnpm run start -- --no-open\n\n# Create the editor with the interface in German.\nnpm run start -- --language=de\n```\n\n### `test`\n\nAllows executing unit tests for the package, specified in the `tests/` directory. The command accepts the following modifiers:\n\n* `--coverage` \u0026ndash; to create the code coverage report,\n* `--watch` \u0026ndash; to observe the source files (the command does not end after executing tests),\n* `--source-map` \u0026ndash; to generate source maps of sources,\n* `--verbose` \u0026ndash; to print additional webpack logs.\n\nExamples:\n\n```bash\n# Execute tests.\nnpm run test\n\n# Generate code coverage report after each change in the sources.\nnpm run test -- --coverage --test\n```\n\n### `lint`\n\nRuns ESLint, which analyzes the code (all `*.js` files) to quickly find problems.\n\nExamples:\n\n```bash\n# Execute eslint.\nnpm run lint\n```\n\n### `stylelint`\n\nSimilar to the `lint` task, stylelint analyzes the CSS code (`*.css` files in the `theme/` directory) in the package.\n\nExamples:\n\n```bash\n# Execute stylelint.\nnpm run stylelint\n```\n\n### `dll:build`\n\nCreates a DLL-compatible package build which can be loaded into an editor using [DLL builds](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/dll-builds.html).\n\nExamples:\n\n```bash\n# Build the DLL file that is ready to publish.\nnpm run dll:build\n\n# Build the DLL file and listen to changes in its sources.\nnpm run dll:build -- --watch\n```\n\n### `dll:serve`\n\nCreates a simple HTTP server (without the live-reload mechanism) that allows verifying whether the DLL build of the package is compatible with the CKEditor 5 [DLL builds](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/development/dll-builds.html).\n\nExamples:\n\n```bash\n# Starts the HTTP server and opens the browser.\nnpm run dll:serve\n```\n\n### `translations:collect`\n\nCollects translation messages (arguments of the `t()` function) and context files, then validates whether the provided values do not interfere with the values specified in the `@ckeditor/ckeditor5-core` package.\n\nThe task may end with an error if one of the following conditions is met:\n\n* Found the `Unused context` error \u0026ndash; entries specified in the `lang/contexts.json` file are not used in source files. They should be removed.\n* Found the `Context is duplicated for the id` error \u0026ndash; some of the entries are duplicated. Consider removing them from the `lang/contexts.json` file, or rewrite them.\n* Found the `Context for the message id is missing` error \u0026ndash; entries specified in source files are not described in the `lang/contexts.json` file. They should be added.\n\nExamples:\n\n```bash\nnpm run translations:collect\n```\n\n### `translations:download`\n\nDownload translations from the Transifex server. Depending on users' activity in the project, it creates translations files used for building the editor.\n\nThe task requires passing the URL to Transifex API. Usually, it matches the following format: `https://www.transifex.com/api/2/project/[PROJECT_SLUG]`.\n\nTo avoid passing the `--transifex` option every time when calls the command, you can store it in `package.json`, next to the `ckeditor5-package-tools translations:download` command.\n\nExamples:\n\n```bash\nnpm run translations:download -- --transifex [API URL]\n```\n\n### `translations:upload`\n\nUploads translation messages onto the Transifex server. It allows for the creation of translations into other languages by users using the Transifex platform.\n\nThe task requires passing the URL to the Transifex API. Usually, it matches the following format: `https://www.transifex.com/api/2/project/[PROJECT_SLUG]`.\n\nTo avoid passing the `--transifex` option every time when you call the command, you can store it in `package.json`, next to the `ckeditor5-package-tools translations:upload` command.\n\nExamples:\n\n```bash\nnpm run translations:upload -- --transifex [API URL]\n```\n\n## License\n\nLicensed under the terms of [GNU General Public License Version 2 or later](http://www.gnu.org/licenses/gpl.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdubz%2Fckeditor5-source-editing-codemirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdubz%2Fckeditor5-source-editing-codemirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdubz%2Fckeditor5-source-editing-codemirror/lists"}