[pmwiki-users] pagetext customisation
Petko Yotov
5ko at 5ko.fr
Sun Dec 8 08:42:39 PST 2019
There are 2 variables that contain the wrapping HTML for the wikitext.
Their default values are:
$PageTextStartFmt = "\n<div id='wikitext'>\n";
$PageTextEndFmt = "</div>\n";
If you redefine these in config.php, they will be used instead of the
default ones.
The <p> comes from the MarkupToHTML conversion.
Petko
--
If you upgrade : http://www.pmwiki.org/Upgrades
On 08/12/2019 17:10, david at ellendee.co.uk wrote:
> Is there a way to customise the markup produced by <!-pagetext- -> in a
> template.
>
> It produces:
> <div id='wikitext'>
> <p>
> . page contents
>
> I would like to produce - at the head of the page contents - the
> following
>
> <div id='wikitext'>
> <textarea>
> . page contents
More information about the pmwiki-users
mailing list