Closed (fixed)
Project:
Ace Code Editor
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2026 at 14:55 UTC
Updated:
7 Sep 2026 at 20:05 UTC
Jump to comment: Most recent
Ace Editor has no automated functional (browser) test coverage, no end-user documentation and no self-contained CI pipeline.
Without acceptance tests, regressions in the three ways the module surfaces the Ace editor — the text editor on forms,
the Ace Format field formatter, and the Ace Filter for <ace> snippets — go unnoticed. While
building this coverage on Drupal 11, several functional and coding-standard defects were also found.
ace_editor.permission.yml (singular). Drupal<module>.permissions.yml, so administer ace_editor was never registered.js/editor.js, js/formatter.js andjs/filter.js read a non-existent print_margin key, while the config/UI key isprint_margins.js/filter.js registeredDrupal.behaviors.ace_formatter (the formatter's name), so on a page rendering both, one clobbered the other. The<ace>-tag attribute overrides were also computed but never applied.tests/features/drupal/** — 12 scenarios / 76 steps covering: the text editor attaching and syncing to the textarea,<ace> filter, per-tagtests/fixtures/provision-fixtures.php.gitlab-ci.yml — the drupalci validation gates (composer-lint, cspell, eslint, phpcs, phpstan, phpunit) plus awebship-js-test job that installs a Drupal Standard site, downloads the Ace library, provisions fixtures and runs the.gitlab-ci-local.yml — a self-contained pipeline for
href="https://github.com/firecow/gitlab-ci-local">gitlab-ci-local (cspell, eslint, MkDocs --strict, and a fullwebship-js-test that builds a fresh Drupal 11 site via a Composer path repository). All jobs validated greendocs/ + mkdocs.yml: introduction, installation, usingREADME.md to every module folder.ace_editor.permission.yml → ace_editor.permissions.yml.print_margins in all three behaviours, still accepting the legacy print-margin inlineDrupal.behaviors.ace_filter and apply per-tag overrides without mutating sharedStart within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
rajab natshahComment #6
rajab natshah