{% extends 'django_spire/knowledge/navigation/page/full_page.html' %}

{% load static %}

{% block base_body_top_js %}
    {{ block.super }}
    <script src="https://cdn.jsdelivr.net/npm/@editorjs/editorjs@2.31.0/dist/editorjs.umd.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@editorjs/paragraph@2.11.7/dist/paragraph.umd.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@editorjs/list@2.0.8/dist/editorjs-list.umd.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@editorjs/header@2.8.8/dist/header.umd.min.js"></script>
{% endblock %}

{% block knowledge_full_page_content %}
    <div class="row justify-content-center ps-3">
        <div class="col-12 col-xl-8">
            {% include 'django_spire/knowledge/entry/version/container/detail_container.html' %}
        </div>
    </div>
{% endblock %}

{% block base_body_additional_bottom_js %}
    {{ block.super }}
    <script type="application/javascript" src="{% static 'django_spire/knowledge/entry/version/js/null_paragraph.js' %}?v={{ DJANGO_SPIRE_VERSION }}"></script>
    <script type="application/javascript" src="{% static 'django_spire/knowledge/entry/version/js/editor.js' %}?v={{ DJANGO_SPIRE_VERSION }}"></script>
{% endblock %}