Cannot edit a page with HTML Macro

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

問題

Can't edit pages that contain HTML Macro and JavaScript in Confluence.

原因

JavaScript code in the HTML Macro is the the root cause of this issue.

回避策

In order to edit the page JavaScript code needs to be remove from HTML Macro and since it's not possible to edit a page through the Editor we can use either of following resolution:

First Workaround:
  1.  Open Confluence HTML Macros from Confluence Admin > Manage Add-ons > All Add-ons
  2.  Expand this macro.
  3.  Disable both html (html) and html (html-xhtml) modules.
  4.  Refresh your page (Open your page in new tab and refresh it there).
  5.  You will see unknown macro: 'html'.
  6.  Go back to Manage add-ons tab and enable both modules again.
  7.  Go back to the page and click on edit.
  8.  Remove the faulty script and save the page.
Second Workaround:
  1. Get a copy from your page storage format > Storage Format.
  2. Disable Confluence HTML Macros.
  3. ページを編集します。
  4. Remove the HTML Macro with faulty scripts form the page.
  5. ページを保存します。
  6. Since you have got other codes in that HTML macro as well, you can use your storage format's backup to add them back to the page.
最終更新日: 2016 年 2 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.