|
|
|
|
@ -3406,8 +3406,8 @@ class WordStyleMainWindow(QMainWindow):
|
|
|
|
|
|
|
|
|
|
# 为每张图片创建位置信息 - 修复位置计算,确保早期显示
|
|
|
|
|
content_length = len(self.imported_content)
|
|
|
|
|
if content_length == 0:
|
|
|
|
|
content_length = len(content) if 'content' in locals() else 1000 # 备用长度
|
|
|
|
|
#if content_length == 0:
|
|
|
|
|
#content_length = len(content) if 'content' in locals() else 1000 # 备用长度
|
|
|
|
|
|
|
|
|
|
# 修复图片位置计算,确保图片能在用户早期打字时显示
|
|
|
|
|
if len(images) == 1:
|
|
|
|
|
|