Introducing an endpoint for previewing node content #53817

Closed
opened 2018-01-17 21:29:50 +01:00 by Francesco Siddi · 4 comments

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.

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.
Francesco Siddi self-assigned this 2018-01-17 21:29:50 +01:00

Added subscribers: @fsiddi, @dr.sybren, @pablovazquez

Added subscribers: @fsiddi, @dr.sybren, @pablovazquez

Be sure to include proper CSRF protection.

Be sure to include proper CSRF protection.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Addressed in e6edd00e46.

Addressed in e6edd00e468d.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: archive/pillar#53817
No description provided.