[pmwiki-users] Re: Edit, Preview, and Save Without Scrolling

Patrick R. Michaud pmichaud at pobox.com
Tue Jan 25 18:51:48 CST 2005


On Tue, Jan 25, 2005 at 07:37:59PM -0500, Bronwyn Boltwood wrote:
> 
> What about putting the edit page chunks into id'ed divs?  That will
> separate them, so they're easier to rearrange, and provide style
> hooks.  I'd also recommend adding an anchor to each section, for
> internal navigation.

That helps some in terms of rearranging layout but it doesn't fix 
content or sequencing, which is what many site admins and skin authors
want to be able to do.

> In my case, I wanted to stick the edit quickref into div
> id="editquickref" so that I could style it specially.  I broke
> $HandleEditFmt two different ways and then gave up.

   $HandleEditFmt = array(&$PageStartFmt,
     &$PageEditFmt, 
     "<div id='editquickref'>", 'wiki:$[PmWiki.EditQuickReference]', '</div>',
     &$PagePreviewFmt,
     &$PageEndFmt);

Pm



More information about the pmwiki-users mailing list