Skip to main content
PHP HTML Editor

Paste and drop images

Paste a screenshot or drag an image into the editor: it is uploaded to the server and the image points at the stored file instead of a huge data: URL.

The PHP for this demo

// Nothing to add: render() sets the editor's upload URL to this page,
// and handleRequest() stores the file with the editor's policy.