Open edX - xblock - Author View

Quick tip: If you want to show an author_view for your custom xblock in the Open edX studio, you need to add a field to your Python file called has_author_view.

class CodeEditorXBlock(XBlock):
	has_author_view = True

This will cause the author_view method to be fired when showing the xblock in the studio.