{# Insert the article list sidebar as the first grid column #}
{# Center editor area (middle grid column) #}
{# Right sidebar (last grid column) #}
{{ form_end(form) }}
{# Hidden container for Nostr publishing #}
{{ form_start(form) }}
{# Title field at top of editor #}
{{ form_row(form.title, {
'label': false,
'attr': {'placeholder': 'Article title', 'class': 'form-control editor-title-field'}
}) }}
{# QuillJS editor container, now using content_html #}
{{ form_row(form.content_html, {'label': false}) }}
{# Hidden field for draft status - controlled by Save Draft / Publish buttons #}
{# Mobile action buttons at bottom #}
{# Markdown editor #}
{{ form_row(form.content, {'label': false, 'attr': {'class': 'form-control editor-md-field'}}) }}
{# JS should sync changes in content to content_html (Quill) #}
{% include 'editor/panels/_json.html.twig' %}
{{ article.title|default('Article title') }}
{# Filled by JS #}