Install

Works with Drupal: ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 87.71 KB
MD5: db28eb095ec1ce3312037f6eb643b85a
SHA-1: 406fc91871113a20b659ae6f53275d94e9da03a9
SHA-256: c73766953b85dfaf620b2681cee28a50cedcee57e81981009d0caceceec8cdec
Download zip 137.95 KB
MD5: 4a1d5d827c2251edc006e99b37784409
SHA-1: 354f22689c9a89a9940564792466a1c57edd11b7
SHA-256: 0543c7767ef0aebb4e4f0ad01497909af8812914f6519b91954b781432d58a5a

Release notes

First release published on drupal.org. Alpha: the /api/editor/v1 contract is stable, the module is still settling. Requires Drupal 11 and PHP 8.3+.

What the module does

Exposes the Editor API contract used by Editor for Drupal & Statamic, the iOS app: nodes, media (upload included) and taxonomy terms, a blueprint per content type so clients render forms dynamically, drafts with explicit publishing, revisions and restore, tokens tied to real Drupal users, entity and field access checked on every write, X-Base-Modified conflict detection. HTML bodies keep their text format. The same contract exists for Statamic as ppcharlier/statamic-editor-api.

Since 1.0.0-alpha4

  • Asset, thumbnail and site URLs are served over https when the request is secure or proxied with X-Forwarded-Proto: https (Tailscale, Caddy, Nginx, Traefik), so iOS App Transport Security stops blocking mixed content.

Install

composer require drupal/editor_api
drush en editor_api

Grant Access the Editor API to the roles that may sign in from the app; everything else follows Drupal's own access control.

Created by: ppcharlier
Created on: 15 Sep 2026 at 19:09 UTC
Last updated: 15 Sep 2026 at 19:09 UTC
Bug fixes
New features

Other releases