selvinortiz/craft.doxter

HTML code block renders input field and submit button on front end

Closed this issue · 3 comments

Not sure exactly what is up here and I'm getting a bit of unpredictable behavior. Sometimes when I save the content below, the screen goes white and I need to reload the page, sometimes it saves and removes the fenced code block, and sometimes it seems to save properly and display properly using Doxter preview, but outputs incorrectly on the front end (when using the doxter filter).

  1. The input
    input
  2. The Doxter Control Panel Preview
    doxter-preview
  3. The rendered content on the front end template using the doxter filter
    front-end-render

I'll see if I can replicate your issue and find out why the rendering engine is outputting the source code safely without escaping.

Quick update...
I was able to replicate your issues and got to experience some of the wacky behavior you described which I didn't see in version 0.4.0 so I'll take a closer look and try to clean up some of the namespaced CSS/JS sometime this week.

Some of the code was not being escaped properly and that may have caused the issue.

There were also other issue with rendering and listening for changing events but most of them should be taken care of.