Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-13 19:05:53

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,265
Website

wet_parachute: "Warn before close" for the content > write screen

wet_parachute is a plugin which enhances the “content > write” screen.

Have you ever lost one of your articles because you inadvertently closed your browser window or navigated away from the article edit screen without saving your changes? wet_parachute issues a warning on such occasions.

Adding yet another convenience, it restores the caret position after an intermediate save action and thus allows you to continue typing at the last insertion point without having to scroll to your last editing position whenever you save an article.

Documentation and download.

Offline

#2 2007-12-13 19:25:37

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 7,682
Website

Re: wet_parachute: "Warn before close" for the content > write screen

wet wrote:

Have you ever lost one of your articles because you inadvertently closed your browser window

Mostly when Firefox crashes with too many tabs open ;-) Lucky I’m a save-a-holic.

it restores the caret position after an intermediate save action

Oh now that I like. Nice one, wet. Downloading now.

Last edited by Bloke (2007-12-13 19:26:23)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2007-12-13 20:31:26

brainphat
New Member
From: Columbia, MO
Registered: 2007-09-07
Posts: 5
Website

Re: wet_parachute: "Warn before close" for the content > write screen

You da man. Was thinking the same thing, but was still trying to wrap my brain around the way Textpattern does… stuff.


brainPhat

Offline

#4 2007-12-14 07:12:07

net-carver
Member
From: UK
Registered: 2006-03-08
Posts: 1,648

Re: wet_parachute: "Warn before close" for the content > write screen

Robert

thanks for this plugin.


Steve
Textile | My plugins on GitHub | @netcarver

Offline

#5 2007-12-14 08:08:46

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: wet_parachute: "Warn before close" for the content > write screen

nice plugin. also the name is pretty clever :)
FYI: works in safari 3 but it doesn’t restore the caret position. not a big deal for me just wanted to let you know…

Offline

#6 2007-12-14 09:16:48

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,265
Website

Re: wet_parachute: "Warn before close" for the content > write screen

Thanks, Sven. I’ve updated the documentation accordingly.

Offline

#7 2007-12-22 21:20:22

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,265
Website

Re: wet_parachute: "Warn before close" for the content > write screen

v0.4 fixes a bug which caused spurious warnings with articles containing non-Latin characters.

Offline

#8 2008-02-26 16:07:04

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,265
Website

Re: wet_parachute: "Warn before close" for the content > write screen

v0.5 removes one spurious warning which occured whenever an article was saved for the very first time and the article screen was subsequently closed or left.

Offline

#9 2008-07-01 20:12:31

maniqui
Moderator
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,068
Website

Re: wet_parachute: "Warn before close" for the content > write screen

I can’t understand why the following is happening:

in a TXP 4.0.6 + MLP (not sure if it is related), in one particular article, after hitting “Save” and then not doing any other change, the “Are you sure?” pop-up appears…

This doesn’t seem to happen for other articles in the same installation.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#10 2008-07-02 04:14:01

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,265
Website

Re: wet_parachute: "Warn before close" for the content > write screen

That’s a known symptom. I’m not quite sure about the reason, but I suspect that this happens with certain articles, as Textpattern tries to remove trailing white space at the end of the article during a save operation, while wet_parachute still sees even blank lines at the end.

I have one article on my own sites which exhibits this behaviour and will use this to aid debugging, but this task is still waiting for a time slot.

Offline

Board footer

Powered by FluxBB