It would be nice to be able to add an "HTML Snippet" object to pages. This could be implemented just like any other module and allow arbitrary code to be added to a page. For my specific case, it's a JavaScript snippet from a vendor to create a form, currently I can only add it to the header (placing the form above the header visual element) or the footer (placing the form below the visual footer). Placing the snippet in the body of the page should allow for the form to be generated at the appropriate location, as well as unlock other more advanced possibilities.
Adding a Rich Text module allows for this, however it can be improved a bit:
For pure code modules it would be nice to include an <html code> placeholder text to make the module more visible and easier to edit.
It's pretty impressive that code injected into the header/footer is processed in the editor, it would be nice if this were the case for the rich text module as well.
In either case, I was able to build the page I needed so great work!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.