fix(company-edit): host Quill editor locally instead of CDN
Some checks are pending
NordaBiz Tests / Unit & Integration Tests (push) Waiting to run
NordaBiz Tests / E2E Tests (Playwright) (push) Blocked by required conditions
NordaBiz Tests / Smoke Tests (Production) (push) Blocked by required conditions
NordaBiz Tests / Send Failure Notification (push) Blocked by required conditions

CDN (cdn.jsdelivr.net) was being blocked, causing all WYSIWYG editors
to fail silently — description, history, values, and services fields
were not editable. Now served from static/js/vendor/ like D3 and Chart.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Maciej Pienczyn 2026-03-18 18:12:39 +01:00
parent a35ba310e0
commit b3982a3309
3 changed files with 15 additions and 2 deletions

10
static/css/quill.snow.css Normal file

File diff suppressed because one or more lines are too long

3
static/js/vendor/quill.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,8 +3,8 @@
{% block title %}Edytuj profil — {{ company.name }}{% endblock %} {% block title %}Edytuj profil — {{ company.name }}{% endblock %}
{% block head_extra %} {% block head_extra %}
<link href="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css" rel="stylesheet"> <link href="{{ url_for('static', filename='css/quill.snow.css') }}" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.js"></script> <script src="{{ url_for('static', filename='js/vendor/quill.js') }}"></script>
{% endblock %} {% endblock %}
{% block extra_css %} {% block extra_css %}