Figma Support Forum

Html doctype is NOT set properly when using figma.showUI

UI file:

<!DOCTYPE html>
<div id="root"></div>

The plugin outcome

I would expect the document loaded in the plugin iframe to have <!DOCTYPE html>. Or should figma set it to <!DOCTYPE html> by default? I think html5 doc type is the well-agreed standard.

1 Like