23 Oct
2008
23 Oct
'08
12:56 p.m.
On Oct 23, 2008, at 2:53 PM, Sergiu Dumitriu wrote:
Mihails Agafonovs wrote:
Hi! Can edit section be disabled for the first heading (h1)?
The section editing code is rather, uhm, ugly. You can disable it if you change com.xpn.xwiki.render.filter.XWikiHeadingFilter, around line 160, and remove the "level.equals("1") condition.
BTW this code is being modified for the new rendering (should be done for 1.7 final if all goes alright). Thanks -Vincent