Edit this topic

Documentation edit button handler

: request

: shape-handler

: documentation

: /modules/core/documentation/services/documentation-edit-button-handler.js

: https://github.com/DecentCMS/DecentCMS/blob/master/modules/core/documentation/services/documentation-edit-button-handler.js

DocumentationEditButtonHandler

Handler for a part that builds an edit button for documentation topics.

DocumentationEditButtonHandler.handle(context, done)

Build a shape for the edit button for documentation topics.

Param Type Description
context object The context object.
context.shape object The content shape that has the part.
context.scope object The scope.
done function The callback.