Wiki source code of Content Editing

Last modified by superadmin on 2026/11/25 11:41

Hide last authors
Eleni Cojocariu 3.21 1 Everything a wiki holds is written through an editor, and XWiki does not have one editor but several: a visual one that edits a Page where you read it, a text one that edits its wiki syntax source, and a few that edit the structured data a Page carries rather than its content. Which one opens when you [[edit a Page>>doc:documentation.xs.user.content-edit.page.WebHome]] depends on what the Page is and on whether your profile is in [[simple or advanced mode>>doc:documentation.xs.user.content-edit.simple-advanced.WebHome]].
Eleni Cojocariu 1.1 2
3 == The Editors ==
4
Eleni Cojocariu 3.8 5 * The default WYSIWYG editor, [[CKEditor>>extensions:Extension.CKEditor Integration.WebHome]], edits a Page in place, without leaving the Page you were reading. It also exists as a [[standalone editor>>doc:documentation.xs.user.content-edit.edit-standalone-wysiwyg-editor.WebHome]] on a screen of its own.
Eleni Cojocariu 3.25 6 * The [[Wiki editor>>doc:documentation.xs.user.content-edit.wiki-editor.WebHome]] edits the same content as syntax text, with a [[toolbar>>doc:documentation.xs.user.content-edit.wiki-editor.toolbar.WebHome]] for the markup used most often.
Eleni Cojocariu 3.4 7 * The [[BlockNote editor>>doc:documentation.xs.user.content-edit.blocknote-editor.WebHome]] is a second visual editor, available where an administrator has installed it.
Eleni Cojocariu 3.13 8 * The [[Inline form editor>>doc:documentation.xs.user.content-edit.inline-editor.WebHome]] edits a Page through the fields of the application it belongs to instead of as free content.
Eleni Cojocariu 3.14 9 * The [[Object editor>>doc:documentation.xs.user.content-edit.object-editor.WebHome]] edits the data objects attached to a Page, and the [[Class editor>>doc:documentation.xs.user.content-edit.class-editor.WebHome]] edits the structure those objects follow.
Eleni Cojocariu 1.1 10
Eleni Cojocariu 3.19 11 Whichever editor you are in, you can work on [[a single section>>doc:documentation.xs.user.content-edit.section.WebHome]] instead of the whole Page, and [[change the syntax>>doc:documentation.xs.user.content-edit.change-syntax.WebHome]] the content is written in. Content you already have as an office document does not have to be retyped: the WYSIWYG editor [[imports it into the Page>>doc:documentation.xs.user.content-edit.import-office-documents-wysiwyg-editor.WebHome]].
Eleni Cojocariu 1.1 12
13 == Saving ==
14
Eleni Cojocariu 3.17 15 The in-place and standalone WYSIWYG editors save through the [[realtime edit actions>>doc:documentation.xs.user.content-edit.realtime-actions.WebHome]]; every other editor saves through the [[common edit actions>>doc:documentation.xs.user.content-edit.common-actions.WebHome]]. Both let you say whether the save is a [[major or a minor version>>doc:documentation.xs.user.page-history.major-minor-versions.WebHome]], and either way it adds a version to the [[history of the Page>>doc:documentation.xs.user.page-history.WebHome]], so nothing you replace is lost. Editing is also where you [[hide or unhide a Page>>doc:documentation.xs.user.content-edit.hide-page.WebHome]] and where you [[set its language or start a translation>>doc:documentation.xs.user.language.WebHome]].
Eleni Cojocariu 1.1 16
17 == When Someone Else Is Editing ==
18
Eleni Cojocariu 3.18 19 The two realtime WYSIWYG editors merge what each person types as they type it, so several people can edit one Page at the same time. The other editors instead put a [[lock>>doc:documentation.xs.user.content-edit.page-locking.WebHome]] on the Page and warn whoever arrives second. When a warning was overridden or a lock had expired, the two versions meet in the [[edit conflict>>doc:documentation.xs.user.content-edit.resolve-conflict.WebHome]] screen, which shows what differs and lets you choose what to keep.
Eleni Cojocariu 1.1 20
Eleni Cojocariu 3.9 21 A Page that came with an installed extension is [[protected from editing>>doc:documentation.xs.user.content-edit.extension-page-protection.WebHome]] on top of that, because the next upgrade of the extension would overwrite whatever you changed.
Eleni Cojocariu 1.1 22
23 == Formatting ==
24
Eleni Cojocariu 3.10 25 [[Formatting>>doc:documentation.xs.user.content-edit.formatting.WebHome]] covers the macros that change how a piece of content reads rather than what it says: code blocks, boxes, information and warning messages, footnotes.

Get Connected