web-课程任务

This commit is contained in:
2025-10-22 18:00:27 +08:00
parent d0cebe1995
commit 3158a85934
16 changed files with 2965 additions and 235 deletions

View File

@@ -280,7 +280,6 @@ function initQuill() {
// 启用图片/视频缩放模块
imageResize: {
onResizeEnd: () => {
console.log('🔄 图片/视频拉伸结束,强制更新内容');
// 强制触发内容更新
if (quillInstance) {
const html = quillInstance.root.innerHTML;
@@ -321,7 +320,6 @@ function initQuill() {
// 监听图片/视频尺寸变化
quillInstance.root.addEventListener('input', () => {
console.log('📝 input 事件触发,更新内容');
if (!quillInstance) return;
const html = quillInstance.root.innerHTML;