Page MenuHome

Introducing an endpoint for previewing node content
Closed, ResolvedPublic

Description

In order to provide a better editing experience, we would like to introduce a /nodes/<node_id>/markdown-preview endpoint. This endpoint get a POST request with a 'content' field and runs the same rendering code (including attachment parsing) use when displaying the node.

Details

Type
Design

Event Timeline

Francesco Siddi (fsiddi) triaged this task as Confirmed, Medium priority.

Be sure to include proper CSRF protection.