RichEditBox:图片消失后的图片和内容(Windows 10 1703 Creators Update) [英] RichEditBox: picture and content after the picture disappear (Windows 10 1703 Creators Update)

查看:25
本文介绍了RichEditBox:图片消失后的图片和内容(Windows 10 1703 Creators Update)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Windows 10 1703 Creators Update 中出现了一个新错误.

In Windows 10 1703 Creators Update a new bug appeared.

重现步骤:

  1. 将带有图片的 RTF 文档加载到 RichEditBox 中
  2. 保存.
  3. 再次保存.
  4. 重新加载它或使用其他应用打开它 - 您会看到图片消失了,并且它消失后的所有内容也消失了.

我在 FeedbackHub 应用中提交了此错误.

I submitted this bug here in FeedbackHub app.

问题是如何避免此错误或解决方法?

推荐答案

GitHub 上的这个项目是为了演示这个bug并修复它.

第二次保存文档后,图片不见了,但是图片块的右大括号'}'还在,所以大括号'}'之后的所有内容都无法读取.

After you save the document for the 2-nd time, the picture is gone, but the closing brace '}' for the picture block is still there, so all the content that comes after the brace '}' cannot be read.

因此,我们只需删除奇怪的括号并使用相同的文档(但未更改的文档)恢复已消失的图片.

So we simply remove the odd brace and restore the picture that was gone using the same document (but unchanged one).

这篇关于RichEditBox:图片消失后的图片和内容(Windows 10 1703 Creators Update)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆