Skip to content

v0.3.0

Latest

Choose a tag to compare

@CKEditorBot CKEditorBot released this 03 Nov 09:26
· 2 commits to master since this release
v0.3.0
2a6d282

Features

  • Introduced the ckeditor-bundle skill that adds a script to an existing CKEditor 5 integration. The script builds the editor bundle for CKEditor Cloud Services. See #29.

    The skill moves the editor into one module that the application and the bundle share. It decides for each custom plugin if the bundle needs it, if Cloud Services removes it, or if the plugin must be split, and it splits the configuration into the uploaded part and the runtime part. It also sets up the bundle build for the bundler of the project, makes the test data from sample documents, and verifies the bundle the way Cloud Services loads it.

    The skill also sets up the upload of the editor bundle to CKEditor Cloud Services. It adds an upload script that sends the signed POST /editors request, and three scripts in package.json: build:bundle, upload:bundle, and release:bundle. The upload script reads the shared configuration, the bundle version, and the test data that the skill prepares, so that the application and the bundle keep one editor definition. It reads the credentials from environment variables, and it exits with an error when the upload fails. As a result, CI can build and check the bundle on each change, and upload the bundle in a release job.

Bug fixes

  • The ckeditor-update skill now requires the agent to record the feature baseline in the browser when a browser MCP is available. A baseline from the code is only a fallback when there is no browser MCP or the agent cannot open the editor. Closes #50.
  • The ckeditor-update skill now checks that the project's custom styles still work after the update. It compares every --ck-* variable that the project sets or reads and every .ck-* selector that it styles with the editor CSS of the old and the new version. When a browser is available, it also compares the computed styles of both versions on a test page. Before, an override that the new editor CSS no longer reads went unnoticed when the update guides did not name the change. Closes #51.

Other changes

  • The ckeditor and ckeditor-update skills now also tag documentation requests with the utm_content query parameter, which names the skill: utm_content=ckeditor or utm_content=ckeditor-update. As a result, the docs access logs can show the requests of each skill and of all skills together. See #36. Closes #48.