Add a form control for previewing HTML
authorMagnus Hagander <magnus@hagander.net>
Fri, 9 Aug 2024 15:48:42 +0000 (17:48 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 21 Aug 2024 11:50:40 +0000 (13:50 +0200)
commit6998c1e8f044f47d09c17f23b1a4f38ca564899e
treebb88d2a07603eb59a0f66acb5da6b1d0b70104ed
parentc506273258aad8763186d669b0541fd2969bf2eb
Add a form control for previewing HTML

This uses (partially) the pgweb code for loading previewable HTML into
an iframe sandbox.
media/css/confadmin.css
media/js/admin.js
postgresqleu/util/templates/forms/widgets/static_html_preview_widget.html [new file with mode: 0644]
postgresqleu/util/widgets.py