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) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Jan 17 2018, 9:29 PM
Francesco Siddi (fsiddi) created this task.

Be sure to include proper CSRF protection.