Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This module makes support Ace php Editor from Library for devel module php execute section.
So you need to install:
1) Ace Editor module
2) Library for Ace Editor (Ace)
2) Devel module
3) Go to PHP execute form and see PHP editor
Form submit is altered to not give error when <? or <?php is in top for editor to trigger code as php.
Theme for editor you can edit in JS file of module.
Theme names you can find in Library/Ace/src as JS name
Comment | File | Size | Author |
---|---|---|---|
devel_ace.zip | 2.84 KB | Jarviss |
Comments
Comment #1
pcambraSorry, what's Ace editor?
I'd tend to say that this is something that can be done in a separate module.
Comment #2
willzyx CreditAttribution: willzyx commented@pcambra the attached file is a standalone module
@Jarviss
thanks for sharing. You can propose it as full module (read here how) or ask to Ace Code Editor's maintainers to integrate your work to the project (eg as a submodule)