[pmwiki-users] Site.EditForm -- div does not wrap contents
Hans
design at flutesong.fsnet.co.uk
Tue Jul 19 15:39:16 CDT 2005
Tuesday, July 19, 2005, 7:00:00 PM, Bronwyn wrote:
> I've been playing with the nifty new Site.EditForm, to put the
> quickref in its own div. I've created a page that has the same wiki
> source as I'm using, at http://pmwiki.org/wiki/Test/EditFormWrapDiv.
> But in the HTML produced, the edit quickref is not being wrapped by
> the div properly. See by viewing source of
> http://pmwiki.org/wiki/Main/WikiSandbox?action=edit&editform=Test.EditFormWrapDiv.
> I checked on both my testbed and on pmwiki.org.
you can't wrap the EditQuickReference in a div, because
a) I think you can't wrap a (:include ...:) markup in a (:div:)
markup (but I am not sure about this),
b) the content of EditQuickReference is an advanced table markup,
and you can't wrap advanced tables in (:div:) markups (Otherwise you
could have used the (:div:) markup in the page which gets included)
suggested workaround:
Rebuild EditQuickReference without table, and use div markup there.
Best,
~Hans
More information about the pmwiki-users
mailing list