jdockerty / jsonnet-playground

Playground for Jsonnet, inspired by Go/Rust projects of similar names.
https://jsonnet.jdocklabs.co.uk
MIT License
2 stars 0 forks source link

Investigate/remove `handleFormat` JS hack #30

Open jdockerty opened 6 months ago

jdockerty commented 6 months ago

The usage of hx-post to /api/format and hx-target for the input textarea did not have the same effect as with the other usages of swapping the text response from the server.

This ticket tracks both the investigation and removal of the handleFormat JS function hack to get this working, in favour of a pure htmx solution for simplicity.