Commit Graph
3 Commits
Author SHA1 Message Date
Peter Evans b13c47f329 fix: run scripts inside the builder HTML element in preview and published apps (#6854)
* fix: run scripts inside the builder HTML element in preview and published apps

* fix: keep HTML element scripts off in preview on the editor hostname

* chore: add a changelog entry for scripts in the builder HTML element

* perf: stop scripts in one HTML element from delaying scripts in another

* test: remove the duplicated widget resize test

* test: drop the toSorted-free browser setup from the dashboard tests
2026-11-27 10:03:29 +00:00
Peter EvansandJeremie Pardou 5a62c876e4 fix: align custom code in builder Preview with the editor on shared hostnames (#6881)
* fix: restrict editor-written code in the builder editor and on the editor hostname

* fix: simplify builder author code restrictions by hostname

* refactor: remove redundant backend custom code hostname checks

* refactor: unify builder HTML element rendering restrictions

* refactor: clarify builder web frontend hostname terminology

* fix: distinguish untrusted builder content in preview notices

* refactor: remove unused backend preview security setting

* docs: shorten builder code restriction changelog

* fix: restrict iframe cookie access across frontend ports

* refactor: share web frontend hostname matching

* fix: preserve protected HTML interactions and bound iframe height

---------

Co-authored-by: Jeremie Pardou <571533+jrmi@users.noreply.github.com>
2026-11-26 17:20:44 +00:00
Jonathan Adelineandpeter_baserow d443af3b4e feat: add an Enterprise HTML element (#6658)
* feat: add an Enterprise static HTML element to the Application Builder

* fix: validate widget markup across imports and browser rendering

* test: refresh the E2E database fixture for the HTML element

* fix: follow browser rules for duplicate attributes and URL lists

* feat: show the embed preview hint on custom HTML elements

* docs: explain how to add widget scripts in the HTML element form

* chore: align HTML element changelog with repository conventions

* feat(builder): render HTML in a sandboxed editor preview

* fix(builder): remove excess HTML editor preview spacing

* fix(builder): match empty HTML and iframe styling

* fix(builder): flag empty HTML element sources

* docs(builder): generalize HTML source helper text

* docs(builder): clarify HTML helper script options

* docs(builder): keep external script helper vendor neutral

* feat(builder): validate HTML source immediately in the editor

* refactor(builder): simplify HTML element as trusted custom code

* docs(builder): shorten HTML source helper

* feat(builder): support formulas in the HTML element

* style(builder): format the HTML element migration

* Tweak the FormulaField migration. Add a placeholder to the formula field in the frontend.

* Bump the HTMLElement migration IDs.

* fix(ci): align E2E fixture with renumbered HTML migration

---------

Co-authored-by: peter_baserow <peter@baserow.io>
2026-11-12 16:09:53 +04:00