Wiki source code of Simple and Advanced Editing
Last modified by Vincent Massol on 2025/07/03
Show last authors
author | version | line-number | content |
---|---|---|---|
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 is, the editing capabilities are different. | ||
2 | |||
3 | {{id name="HSimpleMode"/}} | ||
4 | |||
5 | == Simple user == | ||
6 | |||
7 | {{image reference="EditSimpleMode.png" size="large"/}} | ||
8 | |||
9 | Clicking on the "Edit" button has the following behavior for a Simple user: | ||
10 | |||
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 with the [[Inline form>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]] editor. | ||
12 | * If the Page is a plain wiki Page (i.e., doesn't use a Sheet): | ||
13 | ** If WYSIWYG is the defined editor //and// the Page Syntax supports it, editing happens [[in-place>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HIn-placeediting"]]. | ||
14 | ** Otherwise, editing defaults to the [[Wiki editor>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikieditingmode"]]. | ||
15 | |||
16 | {{id name="HAdvancedMode"/}} | ||
17 | |||
18 | == Advanced user == | ||
19 | |||
20 | The Advanced user type grants access to all editors and is intended for users who are familiar with XWiki internals and programming features. After switching to the Advanced user type from the [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] Page, the "Edit" button reveals a dropdown as follows: | ||
21 | |||
22 | {{image reference="EditAdvancedMode.png" size="large"/}} | ||
23 | |||
24 | * [[WYSIWYG>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HStandaloneeditingmode"]]: Edit Page content using the standalone WYSIWYG editor. | ||
25 | * [[Wiki>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikiediting"]]: Edit raw wiki content. | ||
26 | * [[Inline form>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]]: Edit Page content via a form (when a Sheet is available). | ||
27 | * [[Access Rights>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HAccessRightseditingmode"]]: Edit the access rights of the Page you own. | ||
28 | * [[Objects>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HObjectseditingmode"]]: Edit objects attached to the Page. | ||
29 | * [[Class>>xwiki:Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HClasseseditingmode"]]: Edit the class definition associated with the Page. |