Section Editing (areaedit)
Use this plugin for section editing.
The link for section editing is shown on right side by default.
Note:
- This plugin is alpha release.
- Whether the section can be edited depends on the Edit-Permission of the page.
Syntax
#areaedit()
TEXT
#areaedit(end)
Parameters
| Parameter |
Description |
| only=editable |
Show the link for section editing if the page is editable |
| end |
End of the section |
Example
You type:
#areaedit()
If you have edit permission of this page,
you can edit this area.
#areaedit(end)
Note: This page can be edited by only admin.
You get:
If you have edit permission of this page,
you can edit this area.
Example
You type:
#areaedit(only=editable)
If you have edit permission of this page,
you can edit this area.
#areaedit(end)
Note: The '[edit]' link is not shown, because this page can be edited by only admin
You get:
If you have edit permission of this page,
you can edit this area.