Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Cloud upload custom html code via API

Nagy András August 16, 2023

Hello guys,

We have an Confluence page that used by an python script to upload the content.
The content is a pure html code.
Like here: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-custom-content/#api-custom-content-id-put
If I use the style html property to change the html table background the Confluence ignore that.


Is it possible to put some html/css style to the code html code that will appear in Confluence?

4 answers

0 votes
Nagy András November 6, 2023

Is it possible to create a feature request for this?

marc -Collabello--Phase Locked-
Community Champion
November 6, 2023

Post the problem here: https://community.developer.atlassian.com/

The chance is better that someone can help.

0 votes
Nagy András November 6, 2023

today I tried external links too, like this:

<a href="https://mysite.com">mysite</a>

I got this error:

Content body cannot be converted to new editor format

so the external links didn't work too....

0 votes
Nagy András August 21, 2023

found this https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html , this seems this is the limited formatting options

marc -Collabello--Phase Locked-
Community Champion
August 21, 2023

Hi @Nagy András ,

Your reference is for Confluence Server/Data Center.  Most of it will work, but not all.

Like Nagy András likes this
0 votes
marc -Collabello--Phase Locked-
Community Champion
August 16, 2023

It's possible to put some styling into Confluence, but it is very limited.  I don't know of a specific guide and usually use trial and error.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events