{% load static %} {% comment %} No inline style or script: the widget Media loads editor_js_widget.css and editor_js_widget.js, which initializes the widgets, so that a Content Security Policy based on nonces allows them. {% endcomment %}