{% load compress wagtailadmin_tags %}

{% comment %}
    CSS declarations to be included on the 'create page' and 'edit page' views
{% endcomment %}

{% compress css %}
    <link rel="stylesheet" href="{{ STATIC_URL }}wagtailadmin/scss/layouts/page-editor.scss" type="text/x-scss" />
    <link rel="stylesheet" href="{{ STATIC_URL }}wagtailadmin/scss/panels/rich-text.scss" type="text/x-scss" />

    {# we'll want tag-it included, for the benefit of any modals that use it, like images. #}
    {# TODO: a method of injecting these sorts of things on demand when the modal is spawned #}
    <link rel="stylesheet" href="{{ STATIC_URL }}wagtailadmin/scss/vendor/jquery.tagit.css">

    {% hook_output 'insert_editor_css' %}
{% endcompress %}

{{ edit_handler.form.media.css }}
