Skip to content

Preview with the templateedit2 plugin #25

Description

@scotthansonde

I'm found a couple of minor issues with preview and the templateedit2 plugin.

New user, has just published one post. I open the plugin for the template editor, I make a slight change. I want to preview before I press "Update". The /users/papascott/misc/mockup.html page opens with an error:

{
errno: -2,
code: "NoSuchKey",
syscall: "open",
path: "publicFiles/users/papascott/misc/mockup.html"
}

I then press Update. Now the preview works.

I make another change to the template. I preview without updating. The preview works, but my new changes are not reflected.

It appears the preview works on the template.html that is saved. I'd expect to see a preview of the template in the editor even if it is not yet saved, or alternatively, for it to be made clear that I need to save before previewing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions