Can't edit confluence page when I insert a html macro

lisa1017 wang
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 14, 2018

Hi,

I insert a html macro as bellow:(I need to keep this macro)html.png

 

And then, When I try to edit this page, it just shown as blank, And I can see the following logs:

Bootstrap:initialise: No settings found. Has preInitialise been called?
VM4526 batch.js:633 Downloading resources:
css!/s/860644ebf11dcbb0e06b72a9ff7dacda-CDN/en_GB/7202/e97769bbf919c0bd667762fc102f557beacb7f94/5e0257d9d7159cf87e6e254a3bb2a156/_/download/contextbatch/css/com.atlassian.confluence.extra.team-calendars.resources-batch,-_super,-atl.general,-viewcontent,-page/batch.css?build-number=7202&confluence.table.resizable=true&confluence.view.edit.transition=true&data-wrm-batch-type=context&data-wrm-key=com.atlassian.confluence.extra.team-calendars.resources-batch%2C-_super%2C-atl.general%2C-viewcontent%2C-page&highlightactions=true&is-server-instance=true&nps-acknowledged=true
js!/s/833773608bea12f9863b87148e29284c-CDN/en_GB/7202/e97769bbf919c0bd667762fc102f557beacb7f94/5e0257d9d7159cf87e6e254a3bb2a156/_/download/contextbatch/js/com.atlassian.confluence.extra.team-calendars.resources-batch,-_super,-atl.general,-viewcontent,-page/batch.js?build-number=7202&confluence.table.resizable=true&confluence.view.edit.transition=true&highlightactions=true&is-server-instance=true&locale=en-GB&nps-acknowledged=true!order
VM4526 batch.js:633 Synchrony successfully initialised.
VM4613 batch.js:1 Error running batched script.

Anyone can help? Thanks in advance.

 

2 answers

0 votes
Stefan Mueller February 25, 2019

Hello,
I face the same problem, including Bootstrap via HTML Macro

  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>

alters the buttons on the Confluence pages, what makes it hardly usable. 

I found Limiting scope of JavaScript source, could that be a solution, I haven't got it to work yet :(.

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2018

Hello Lisa!
The editor can be affected by your script, you could check the JS you are using. Another customer had a similar problem:

OK, found my own error. JS failures in the global section can apparently blow up the edit, so clearing any custom JS helps. This includes updates to "shared" JS files (stuff hosted on jquery cdn, etc), so watch out for that.


Edit screen is blank

This looks like you case, so you may need to look for options to the JS you are currently using.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events