Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Missing link text editting rich text links

Isaac
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!
May 4, 2022

I am constructing a page through the Confluence API, and am trying to create a page link using the example found in the Confluence documentation:

https://confluence.atlassian.com/conf710/confluence-storage-format-1031840114.html

in particular, I am trying to create a link with rich text body (sample from link)

<ac:link>
  <!-- Any resource identifier --> 
  <ri:page ri:content-title="Home" ri:space-key="SANDBOX" /> 
  <ac:link-body>Some <strong>Rich</strong> Text</ac:link-body>
</ac:link>

I notice that when I create a link this way, and then edit it through the Confluence wysiwyg editor, that the 'Link Text' input box doesn't appear.  If I just have plain text in the <ac:link-body> then it does appear.  So it looks like there is some issue when there is any text inside formatting tags (like <strong>).

This is the 'Link text' input box I expect to show up:Capture.PNG

 

 

1 answer

0 votes
Isaac
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!
May 4, 2022

This reproduces the issue

<ac:link-body>Some <strong>Rich</strong> Text</ac:link-body>

 And this works fine

<ac:link-body>Some Plain Text</ac:link-body>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events