当 draw.io 图表附件被移动到另一个页面时,您可能会看到显示原始 draw.io 宏的错误。这种情况很少发生,但图表可以恢复,因为没有数据丢失。
要在页面上显示 draw.io 图表,draw.io 宏包含一个属性,该属性指定附加到页面的图表名称(如链接)。当您将附件移动到另一个页面时,该链接会丢失,并且 draw.io 宏无法找到图表。
<p><ac:structured-macro ac:name="drawio" ac:schema-version="1" data-layout="default" ac:macro-id="41ddd3f1-9613-4f13-b0f1-9b24b68db2eb"> <ac:parameter ac:name="contentId">678821920</ac:parameter><ac:parameter ac:name="simple">0</ac:parameter><ac:parameter ac:name="zoom">1</ac:parameter> <ac:parameter ac:name="inComment">0</ac:parameter><ac:parameter ac:name="pageId">678854685</ac:parameter><ac:parameter ac:name="diagramDisplayName">rulers-measurements.drawio</ac:parameter> <ac:parameter ac:name="lbox">1</ac:parameter><ac:parameter ac:name="contentVer">1</ac:parameter><ac:parameter ac:name="revision">1</ac:parameter><ac:parameter ac:name="baseUrl">http://drawio.atlassian.net/wiki</ac:parameter> <ac:parameter ac:name="diagramName">rulers-measurements.drawio</ac:parameter> <ac:parameter ac:name="width">1151</ac:parameter><ac:parameter ac:name="links" /><ac:parameter ac:name="tbstyle" /><ac:parameter ac:name="height">911</ac:parameter></ac:structured-macro></p>
对损坏的页面上的每个 draw.io 图表宏重复这些步骤。
提示:如果您的浏览器或 Confluence Cloud 实例出现阻止图表/页面发布的问题,您也可以从附加到页面的文件中恢复图表。.tmp
When a draw.io diagram attachment has been moved to another page, you may see an error where the original draw.io macro is displayed. This happens very rarely, but the diagram can be recovered because no data has been lost.
To display a draw.io diagram on a page, the draw.io macro contains an attribute that specifies a diagram name that is attached to a page (like a link). When you move an attachment to another page, that link is lost, and the draw.io macro can’t find the diagram.
<p><ac:structured-macro ac:name="drawio" ac:schema-version="1" data-layout="default" ac:macro-id="41ddd3f1-9613-4f13-b0f1-9b24b68db2eb"> <ac:parameter ac:name="contentId">678821920</ac:parameter><ac:parameter ac:name="simple">0</ac:parameter><ac:parameter ac:name="zoom">1</ac:parameter> <ac:parameter ac:name="inComment">0</ac:parameter><ac:parameter ac:name="pageId">678854685</ac:parameter><ac:parameter ac:name="diagramDisplayName">rulers-measurements.drawio</ac:parameter> <ac:parameter ac:name="lbox">1</ac:parameter><ac:parameter ac:name="contentVer">1</ac:parameter><ac:parameter ac:name="revision">1</ac:parameter><ac:parameter ac:name="baseUrl">http://drawio.atlassian.net/wiki</ac:parameter> <ac:parameter ac:name="diagramName">rulers-measurements.drawio</ac:parameter> <ac:parameter ac:name="width">1151</ac:parameter><ac:parameter ac:name="links" /><ac:parameter ac:name="tbstyle" /><ac:parameter ac:name="height">911</ac:parameter></ac:structured-macro></p>
Repeat these steps for each draw.io diagram macro on the page that is broken.
Tip: You can also recover a diagram from the .tmp file attached to a page if your browser or your Confluence Cloud instance had a problem that prevented your diagram/page from being published.