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

Missing link text editting rich text links

Isaac 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 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