Yes, I noticed that the session was deleted when I opened the preview in a new tab. And with the session goes the form and the cursor position.
Until this might become possible, I'll open the preview in a new tab and when the page is finished, I'll click "edit" or "create" again, paste the finished text and submit it. Not the most beautiful workaround but it works for now. At least the tricky step one has been successful (convincing Dan that it's a good idea). :) Regards, Markus On Wed, Apr 21, 2010 at 9:29 PM, The Editor <[email protected]> wrote: > This is a good idea, but I don't think it will work. The way forms are > processed involves special session-based security information to > prevent hackers from submitting a hacked form. Once you submit the > form (to get the preview screen) that session data is deleted and the > original form will not be able to submit a second time. So while we > could probably target the form action to a separate tab, the original > form would no longer be able to submit valid form data. > > I don't have a good solution for what you want to do, apart from some > kind of advanced javascript. I plan to experiment with some new form > recognition code, that might make that kind of javascript a bit more > plausible... > > Cheers, > Dan > > > On Wed, Apr 21, 2010 at 12:52 PM, Markus Weimar > <[email protected]> wrote: >> Hi, >> >> It just hit me like a bolt (not as in BoltWire). I use the preview >> function all the time. When a page gets long (and you don't edit >> subsections via plugin), it becomes hard to find the previous cursor >> position which has been lost. >> >> I was so used to this procedure of previewing and searching for the >> previous position to continue writing that I never thought about >> opening the preview in a new window/tab. This way the cursor position >> stays where it is. Also the edit text field will not be at the end of >> the universe (below that never ending page). Yes, now it's obvious. >> >> I wonder what you think about including a previewMode config setting >> (after so many will be removed). The default could be the current >> behavior. The alternative would be that you click "Preview", the >> preview is shown in a new tab/window without edit functionality. Look >> at it, close it, continue editing in your still-like-before edit tab. > > -- > You received this message because you are subscribed to the Google Groups > "BoltWire" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/boltwire?hl=en. > > -- You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/boltwire?hl=en.
