Wiki source code of Simple vs. Advanced Editing
Last modified by Vincent Massol on 2025/05/07
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
26.1 | 1 | There are two types of users in XWiki, [[Simple and Advanced users>>extensions:Extension.User Module.User Profile Application.UserTypes.WebHome]]. Depending on the type a user has, the editing capabilities are different. |
![]() |
1.1 | 2 | |
3 | {{id name="HSimpleMode"/}} | ||
4 | |||
![]() |
7.1 | 5 | == Simple user == |
![]() |
1.1 | 6 | |
![]() |
21.1 | 7 | {{image reference="EditSimpleMode.png" width="650px"/}} |
![]() |
16.1 | 8 | |
![]() |
26.2 | 9 | Clicking on the "Edit" button has the following behavior for a Simple user: |
![]() |
1.1 | 10 | |
![]() |
26.1 | 11 | * If the page is displayed by a [[sheet>>extensions:Extension.Sheet Module]] (e.g., has an associated object with a sheet), then the page is edited in [[Inline form>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]] edit mode. |
![]() |
7.1 | 12 | * If the page is a plain wiki page (i.e., doesn't use a sheet): |
![]() |
26.1 | 13 | ** If WYSIWYG is the defined editor //and// the page syntax supports it, editing happens [[in-place>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HIn-placeediting"]]. |
14 | ** Otherwise, editing defaults to the [[Wiki edit mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikieditingmode"]]. | ||
![]() |
1.1 | 15 | |
![]() |
22.1 | 16 | {{id name="HAdvancedMode"/}} |
![]() |
1.1 | 17 | |
![]() |
7.1 | 18 | == Advanced user == |
![]() |
1.1 | 19 | |
![]() |
26.2 | 20 | The Advanced user type provides access to all editing modes, intended for users familiar with XWiki internals and programming features. After switching to the Advanced type from the [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] page, the "Edit" button reveals a dropdown with the following options: |
![]() |
1.1 | 21 | |
![]() |
29.1 | 22 | * [[WYSIWYG>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HStandaloneeditingmode"]]: Edit page content using the standalone WYSIWYG editor. |
![]() |
26.1 | 23 | * [[Wiki>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikiediting"]]: Edit raw wiki content. |
24 | * [[Form Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]]: Edit page content via a form (when a sheet is available). | ||
![]() |
7.1 | 25 | * [[Object Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HObjectseditingmode"]]: Edit objects attached to the page. |
![]() |
26.1 | 26 | * [[Class Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HClasseseditingmode"]]: Edit the class definition associated with the page. |
![]() |
1.1 | 27 | |
![]() |
32.2 | 28 | {{image reference="EditAdvancedMode.png" width="650px"/}} |
![]() |
1.1 | 29 |