fix(editor): 修复编辑器高度问题和移除调试日志

调整Tiptap编辑器高度为100%以正确填充容器
移除消息面板中已读回执的调试日志输出
This commit is contained in:
Phoenix 2025-07-03 10:47:10 +08:00
parent c64a562913
commit a0b28b19ef
2 changed files with 4 additions and 2 deletions

View File

@ -1088,7 +1088,9 @@ html[theme-mode='dark'] {
overflow: auto;
padding: 8px;
outline: none;
.tiptap.ProseMirror{
height: 100%;
}
.image-upload-loading {
position: relative;
display: inline-block;

View File

@ -511,7 +511,7 @@ const checkVisibleElements = () => {
prev.talk_type === doReadItem.talk_type && prev.receiver_id === doReadItem.receiver_id
)
if (!prevItem || !doReadItem.msg_ids.every((id) => prevItem.msg_ids.includes(id))) {
console.error('====发送了新版已读回执=====', doReadItem)
// console.error('=========', doReadItem)
ws.emit('im.message.new.read', doReadItem)
}
})