Commit 6b76183b authored by 覃振观's avatar 覃振观 👶

监听范围 增加 textarea

parent 7ece56cc
......@@ -482,6 +482,12 @@ function inputEventListener() {
listenerContent(event);
});
});
const textareaElements = document.querySelectorAll('textarea');
textareaElements.forEach(item => {
item.addEventListener('input', (event) => {
listenerContent(event);
});
});
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment