feat: add RichTextEditor component for rich text editing in articles

feat: create SanitizeBlogBodiesCommand to clean existing blog bodies according to current HTML sanitization policies

test: add AppointmentTreatmentSessionLinkTest to ensure appointment booking functionality works correctly with treatment session links
This commit is contained in:
hamed
2026-08-08 11:40:17 +03:30
parent 934405c42d
commit 47323daa27
36 changed files with 3461 additions and 12686 deletions
+6 -1
View File
@@ -45,7 +45,12 @@ framework:
div: []
a: ['href', 'title', 'target', 'rel']
img: ['src', 'alt', 'title', 'width', 'height']
table: []
# سه attributeِ ظاهریِ قدیمیِ جدول عمداً مجازند. هیچ‌کدام
# نمی‌توانند حاملِ اسکریپت یا URL باشند — مقدارشان عدد است — و
# بدونشان جدولِ صدها مقالهٔ موجود حاشیه و فاصله‌اش را از دست
# می‌داد. `style` همچنان ممنوع است: تنها attributeِ ظاهریِ این
# جمع که می‌تواند بارِ اجرایی حمل کند.
table: ['border', 'cellpadding', 'cellspacing']
thead: []
tbody: []
tfoot: []