Skip to content

Conversation

NyanHelsing
Copy link
Contributor

Ticket

Purpose

Changes

Side effects

QA Notes

Deployment Notes

const frame = document.createElement("iframe");
frame.id = "mfrframe";
document.getElementById("mfrIframe").appendChild(frame);
document.getElementById("mfrframe").src = "data:text/html;charset=utf-8," + escape(xhr.responseText);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are issues using a data url, we also have the srcdoc attribute available https://www.w3schools.com/tags/att_iframe_srcdoc.asp

@coveralls
Copy link

coveralls commented Feb 28, 2018

Coverage Status

Coverage remained the same at 72.448% when pulling 137bfa3 on birdbrained:feature/html-rendering into 8b07195 on CenterForOpenScience:develop.

Copy link
Contributor

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is a PR for Gate's HTML and web page rendering. Is this feature dropped? What's the ticket status?

@NyanHelsing NyanHelsing changed the title ***wip - Add html rendering wip - Add html rendering May 15, 2018
@NyanHelsing NyanHelsing closed this Aug 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants