迁移聊天图片上传事件绑定

This commit is contained in:
2026-04-25 03:41:45 +08:00
parent ca61dd42f7
commit 64a1e5d769
3 changed files with 44 additions and 3 deletions
+4
View File
@@ -2,6 +2,7 @@
export { escapeHtml, escapeHtmlWithLineBreaks } from "./chat-room/html.js";
export { applyFontSize, bindChatFontSizeControl, CHAT_FONT_SIZE_STORAGE_KEY, restoreChatFontSize } from "./chat-room/font-size.js";
export { bindChatImageUploadControl } from "./chat-room/image-upload.js";
export { closeChatImageLightbox, initChatImageLightboxEvents, openChatImageLightbox } from "./chat-room/lightbox.js";
export {
BLOCKABLE_SYSTEM_SENDERS,
@@ -28,6 +29,7 @@ export { createMessageQueue } from "./chat-room/message-queue.js";
import { escapeHtml, escapeHtmlWithLineBreaks } from "./chat-room/html.js";
import { applyFontSize, bindChatFontSizeControl, CHAT_FONT_SIZE_STORAGE_KEY, restoreChatFontSize } from "./chat-room/font-size.js";
import { bindChatImageUploadControl } from "./chat-room/image-upload.js";
import { closeChatImageLightbox, initChatImageLightboxEvents, openChatImageLightbox } from "./chat-room/lightbox.js";
import {
BLOCKABLE_SYSTEM_SENDERS,
@@ -58,6 +60,7 @@ if (typeof window !== "undefined") {
escapeHtmlWithLineBreaks,
applyFontSize,
bindChatFontSizeControl,
bindChatImageUploadControl,
CHAT_FONT_SIZE_STORAGE_KEY,
restoreChatFontSize,
closeChatImageLightbox,
@@ -87,4 +90,5 @@ if (typeof window !== "undefined") {
window.openChatImageLightbox = openChatImageLightbox;
window.applyFontSize = applyFontSize;
bindChatFontSizeControl();
bindChatImageUploadControl();
}