Wiki source code of Simple and Advanced Editing

Last modified by Eleni Cojocariu on 2026/10/08 14:56

Hide last authors
Vincent Massol 33.3 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.
Pauline Bessoles 1.1 2
3 {{id name="HSimpleMode"/}}
4
Pauline Bessoles 7.1 5 == Simple user ==
Pauline Bessoles 1.1 6
Eleni Cojocariu 40.2 7 {{image reference="edit-simple-mode.png" size="large" alt="The simple edit button highlighted"/}}
Pauline Bessoles 16.1 8
Vincent Massol 26.2 9 Clicking on the "Edit" button has the following behavior for a Simple user:
Pauline Bessoles 1.1 10
Eleni Cojocariu 44.7 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.edit-inline-editor.WebHome]] editor.
Eleni Cojocariu 33.1 12 * If the Page is a plain wiki Page (i.e., doesn't use a Sheet):
Eleni Cojocariu 44.5 13 ** If WYSIWYG is the defined editor //and// the Page Syntax supports it, editing happens [[in-place>>xwiki:documentation.xs.user.base.page.edit.WebHome]].
Eleni Cojocariu 44.10 14 ** Otherwise, editing defaults to the [[Wiki editor>>xwiki:documentation.xs.user.base.page.edit.edit-wiki-editor.WebHome]].
Pauline Bessoles 1.1 15
Pauline Bessoles 22.1 16 {{id name="HAdvancedMode"/}}
Pauline Bessoles 1.1 17
Pauline Bessoles 7.1 18 == Advanced user ==
Pauline Bessoles 1.1 19
Eleni Cojocariu 42.2 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:
Pauline Bessoles 1.1 21
Eleni Cojocariu 40.2 22 {{image reference="edit-advanced-mode.png" size="large" alt="The advanced edit button and the editors"/}}
Pauline Bessoles 1.1 23
Eleni Cojocariu 44.9 24 * [[WYSIWYG>>xwiki:documentation.xs.user.base.page.edit.edit-standalone-wysiwyg-editor.WebHome]]: Edit Page content using the standalone WYSIWYG editor.
Eleni Cojocariu 44.10 25 * [[Wiki>>xwiki:documentation.xs.user.base.page.edit.edit-wiki-editor.WebHome]]: Edit raw wiki content.
Eleni Cojocariu 44.7 26 * [[Inline form>>xwiki:documentation.xs.user.base.page.edit.edit-inline-editor.WebHome]]: Edit Page content via a form (when a Sheet is available).
Eleni Cojocariu 44.12 27 * [[Access Rights>>documentation.xs.admin.rights.set-page-rights.WebHome||anchor="HHowdoIsettherightsofaterminalpage3F"]]: Edit the access rights of a [[terminal Page>>documentation.xs.user.base.page.create.create-terminal-page.WebHome]].
Eleni Cojocariu 44.8 28 * [[Objects>>xwiki:documentation.xs.user.base.page.edit.edit-object-editor.WebHome]]: Edit objects attached to the Page.
Eleni Cojocariu 44.6 29 * [[Class>>xwiki:documentation.xs.user.base.page.edit.edit-class-editor.WebHome]]: Edit the class definition associated with the Page.

Get Connected