Easy native HTML5 forms for WordPress. Version 1.5 is unmaintained, but works without issue. 2.0 has been rewritten from the ground, and can be found at https://github.com/libreform/libreform
When working with something like a React single page application, HTML is a bit of a nuisance. Attaching random event listeners is not exactly the React way of doing things, so the form html has to be stripped out of the content before rendering, and replaced with a component.
It would be much easier to do said search-replace if the content looked like
When working with something like a React single page application, HTML is a bit of a nuisance. Attaching random event listeners is not exactly the React way of doing things, so the form html has to be stripped out of the content before rendering, and replaced with a component.
It would be much easier to do said search-replace if the content looked like
instead of
The latter "requires" a DOM parser, while the first one is doable with a regular expression.
Since #153 warrants for an UI option, this could be made controllable within the UI, but a filter or a constant would work as well.