Changes for page Configuration

Last modified by Vincent Massol on 2024/10/25

From version 214.1
edited by Vincent Massol
on 2021/02/18
Change comment: There is no comment for this version
To version 215.1
edited by Vincent Massol
on 2021/04/08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -686,12 +686,37 @@
686 686  
687 687  == Default editor ==
688 688  
689 -You can choose the default editor to use from "Configuration > Edit Mode Settings" (see below). You can also configure the default WYSIWYG editor to use ({{info}}XWiki 8.2{{/info}}).
689 +You can choose which default editor to use when editing wiki content (wiki or WYSIWYG editor). XWiki uses the following strategy when deciding which editor to use:
690 +1. If editing a [[TextArea object property>>Documentation.DevGuide.DataModel.WebHome]] and that property has explicitly specified a specific editor to be used to edit it, then that editor will be used. This is set when [[using the Class editor>>Documentation.UserGuide.Features.PageEditing#HClasseseditingmode]]. For example:(((
691 +{{image reference="editor-class-property.png"/}}
692 +)))
693 +1. Then, if no property editor is defined, or if editing standard wiki content (like page content), XWiki will check if the [[current user has configured an editor for a given content type>>extensions:Extension.Edit Module#HConfiguretheDefaultEditor]] and if the current edited content is of that type, then that editor will be used. For example:(((
694 +{{image reference="editor-content-user.png"/}}
695 +)))
696 +1. Then, if no property editor is defined, XWiki will check if the [[current (nested) page has configured an editor for a given content type>>extensions:Extension.Edit Module#HConfiguretheDefaultEditor]] and if the current edited content is of that type, then that editor will be used. For example:(((
697 +{{image reference="editor-content-page.png"/}}
698 +)))
699 +1. Then, if no property editor is defined, XWiki will check if the [[current wiki has configured an editor for a given content type>>extensions:Extension.Edit Module#HConfiguretheDefaultEditor]] and if the current edited content is of that type, then that editor will be used. For example:(((
700 +{{image reference="editor-content-wiki.png"/}}
701 +)))
702 +1. Then, if no property editor is defined, XWiki will check if there's a [[configuration in ##xwiki.properties## for a given content type>>extensions:Extension.Edit Module#HConfiguretheDefaultEditor]] and if the current edited content is of that type, then that editor will be used. For example:(((
703 +{{code language="properties"}}
704 +edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text
705 +{{/code}}
706 +)))
707 +1. Then, if no editor has been defined, XWiki will check if the current [[user has defined a preferred editor to use>>extensions:Extension.User Module.User Profile Application.WebHome#HEditPreferences]]. For example:(((
708 +{{image reference="editor-user.png"/}}
709 +)))
710 +1. Then, if no editor has been defined, XWiki will check the [[default editor set up in the Administration UI>>extensions:Extension.Administration Application#HEditing]]. For example:(((
711 +{{image reference="editor-admin.png"/}}
712 +)))
690 690  
691 -{{image reference="DefaultEditorStarting30.png" width="45%"/}} {{image reference="default-wysiwyg-config.png" width="45%"/}}
692 -
693 693  == Default WYSIWYG editor ==
694 694  
716 +{{version since="8.2"}}
717 +You can configure the [[default WYSIWYG editor to use>>extensions:Extension.CKEditor Integration.WebHome#HAdministrationSection]].
718 +{{/version}}
719 +
695 695  See the [[WYSIWYG Editor Configuration>>extensions:Extension.CKEditor Integration.WebHome#HConfiguretheEditor]] page to find out how you can enable or disable editing features.
696 696  
697 697  == Section Editing ==

Get Connected