Editors and iframes

Protection

  • The editor might be used as a rich form field and tabbing into it will not work without custom logic.
  • The editor also cannot autogrow with the content since iframes do not autogrow. This limitation also lacks a good workaround.
  • Analytics libraries are commonplace today and an iframe is essentially an events black hole.
  • The back button controls history of the page and not the iframe, so hitting the back button after clicking on a hash link inside an iframed editor linked to another section of the editor will not work as expected.

Control

Moving Forward

--

--

--

Co-founder of @slab, BDFL of @quilljs

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jason Chen

Jason Chen

Co-founder of @slab, BDFL of @quilljs

More from Medium

I will convert psd, xd, figma, sketch to html css bootstrap

Abstraction in Javascript

What is the JavaScript DOM? (Document Object Model)

Learn about stacking context