Wiki source code of Simple and Advanced Editing
Last modified by Eleni Cojocariu on 2026/08/11 11:18
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="edit-simple-mode.png" size="large" alt="The simple edit button highlighted"/}} | ||
| 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.xs.user.base.page.edit-page.edit-inline-editor.WebHome]] 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.xs.user.base.page.edit-page.WebHome]]. | ||
| 14 | ** Otherwise, editing defaults to the [[Wiki editor>>xwiki:documentation.xs.user.base.page.edit-page.edit-wiki-editor.WebHome]]. | ||
| 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 by [[editing the profile preferences>>xwiki:documentation.xs.user.user.edit-profile.edit-profile-preferences.WebHome]] Page, the "Edit" button reveals a dropdown as follows: | ||
| 21 | |||
| 22 | {{image reference="edit-advanced-mode.png" size="large" alt="The advanced edit button and the editors"/}} | ||
| 23 | |||
| 24 | * [[WYSIWYG>>xwiki:documentation.xs.user.base.page.edit-page.edit-standalone-wysiwyg-editor.WebHome]]: Edit Page content using the standalone WYSIWYG editor. | ||
| 25 | * [[Wiki>>xwiki:documentation.xs.user.base.page.edit-page.edit-wiki-editor.WebHome]]: Edit raw wiki content. | ||
| 26 | * [[Inline form>>xwiki:documentation.xs.user.base.page.edit-page.edit-inline-editor.WebHome]]: 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.xs.user.base.page.edit-page.edit-object-editor.WebHome]]: Edit objects attached to the Page. | ||
| 29 | * [[Class>>xwiki:documentation.xs.user.base.page.edit-page.edit-class-editor.WebHome]]: Edit the class definition associated with the Page. |