updateweb

This commit is contained in:
Local Server
2025-12-24 00:13:23 -06:00
parent e4b3de4a46
commit 017c6376fc
88 changed files with 17866 additions and 1191 deletions

49
scripts/test-quill-fix.sh Executable file
View File

@@ -0,0 +1,49 @@
#!/bin/bash
echo "🔍 Testing Quill.js Integration Fix..."
echo
# Check for Quill CSS
if grep -q "quill.snow.css" ../website/admin/homepage.html; then
echo "✅ Quill.js CSS found"
else
echo "❌ Quill.js CSS missing"
exit 1
fi
# Check for Quill JS
if grep -q "quill.js" ../website/admin/homepage.html; then
echo "✅ Quill.js JavaScript found"
else
echo "❌ Quill.js JavaScript missing"
exit 1
fi
# Check for Quill styling
if grep -q "ql-container" ../website/admin/homepage.html; then
echo "✅ Custom Quill styling found"
else
echo "❌ Custom Quill styling missing"
exit 1
fi
# Check for error handling
if grep -q "typeof Quill" ../website/admin/js/homepage.js; then
echo "✅ Error handling added"
else
echo "❌ Error handling missing"
exit 1
fi
# Check for all three editors
count=$(grep -c "new Quill" ../website/admin/js/homepage.js)
if [ "$count" -eq 3 ]; then
echo "✅ All 3 Quill editors initialized"
else
echo "⚠️ Expected 3 editors, found $count"
fi
echo
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
echo "✅ All checks passed! Quill.js is properly configured."
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"