question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Add option to use `<iframe>` to edit full page

See original GitHub issue

Currently, the editor inherits all CSS on the page where it is added. If shown in an “admin” area, it’s possible some CSS will reach in to the editor causing undesired side-effects.

If you use an <iframe> for the editing area, you can get not only 1) better sandboxing, but also 2) full-page editing.

It would be cool to see this editor support full page editing, where it can accept a <!doctype html><html>...</html> value and preserve the entire structure.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JiHong88commented, Sep 30, 2019

Hi @sirlancelot

Updated in v2.19.1

Thank you : )

1reaction
sirlancelotcommented, Aug 12, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Feature Request: Add option to use `<iframe>` to edit full page ...
In the implementation I've seen (CKEditor), the content under edit is in an iframe. All other UI/Editing elements surround the iframe.
Read more >
<iframe>: The Inline Frame element - HTML - MDN Web Docs
The <iframe> HTML element represents a nested browsing context, embedding another HTML page into the current one.
Read more >
The ultimate guide to iframes - LogRocket Blog
Not a fan of iframes? This post provides an overview of the tag's best features, shows you how to use them, and how...
Read more >
How to Use iFrames With WordPress (Manually and ... - Kinsta
The basic code for adding an iFrame to a page is fairly simple. All you need are the opening and closing HTML tags,...
Read more >
Best practices for using third-party embeds - web.dev
You can ensure this by specifying the width and height attributes of iframes or by setting a fixed size for static elements where...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found