web-课程任务
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user