fix(editor): 修复编辑器高度问题和移除调试日志
调整Tiptap编辑器高度为100%以正确填充容器 移除消息面板中已读回执的调试日志输出
This commit is contained in:
parent
c64a562913
commit
a0b28b19ef
@ -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;
|
||||
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user