We have a react application and we are embedding lucid chart documents there. It works find until we click on other links. Imagine, I have a link within lucid chart to a different document. Once, I click on that link my expected behavior is to open that link within the iFrame but instead of that the link opens in the parent window. How can I control this behavior and open links within the iFrame ?
Hi
Hi
By default, external links should open in the parent window but I will double check this with our API team and get back to you.
Hello
Thank you for the response. What I am trying to do is add another Lucidchart diagram as a link to my parent diagram. I do this by adding it as a document. Then I activate the embed document for the parent diagram and display it in my React application. Then this parent diagram is displayed in my application within an iFrame. What I want to achieve is when I click the link of the parent diagram, it should open in the same iFrame.
I haven't found an alternative for this yet, but I found another workaround. I added the diagram into the parent diagram but on a different page. Then I removed the document link and added the page link. Then the page changes within the same iFrame. For the moment, it works, but it is a burden to have so many pages within one diagram.
I hope you understood my concern, and please ask me for further clarifications if needed.
Hi
I apologize for any inconveniences this brings. Please let us know if there’s anything else we can do to support you in the meantime.
Hello
Thank you for verifying that and appreciate your time spent on this matter.
Reply
Create an account in the community
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to create an account.
Log in to the community
A Lucid account is required to interact with the community. You will be redirected to the Lucid app to log in.
Login with SSO
Log in with LucidEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.