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
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:
parent
a35ba310e0
commit
b3982a3309
10
static/css/quill.snow.css
Normal file
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
3
static/js/vendor/quill.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -3,8 +3,8 @@
|
||||
{% block title %}Edytuj profil — {{ company.name }}{% endblock %}
|
||||
|
||||
{% block head_extra %}
|
||||
<link href="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.snow.css" rel="stylesheet">
|
||||
<script src="https://cdn.jsdelivr.net/npm/quill@2.0.3/dist/quill.js"></script>
|
||||
<link href="{{ url_for('static', filename='css/quill.snow.css') }}" rel="stylesheet">
|
||||
<script src="{{ url_for('static', filename='js/vendor/quill.js') }}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block extra_css %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user