In the Authoring mode you can:
- enter and format the content for your fragment
- view key statistics about the fragment
- upload text content
For the Rich Text format you can also:
After a fragment has been published and/or referenced, AEM will display a warning when an author opens the fragment for editing again. This is to warn that changes to the fragment will affect the referenced pages as well.
Changing the format can result in formatting information being lost.
The action cannot be undone.
Rich text editing allows you to format:
- Paragraph style: Paragraph, Heading 1/2/3
- Alignment: left, center, right
- Bulleted list
- Numbered list
- Indentation: increase, decrease
- with Undo/Redo options too.
You can also:
These assets cannot be moved or deleted on a referencing page, this must be done in the fragment editor.
There are various methods of adding visual assets (e.g. images) to the fragment and/or page.
Use Select to add the asset to the paragraph system of your content fragment at the current location.
If, after adding an asset, you change format to:
- Plain Text: the asset will be completely lost from the fragment.
- Markdown: the asset will not be visible, but will still be there when you return to Rich Text.
If you select Plain Text you might lose any formatting, markdown and/or assets that you have inserted in either Rich Text or Markdown.
For full information see the Markdown documentation.
This allows you to format your text using markdown. You can define:
- Paragraphs and Line Breaks
- Block Quotes
- Code Blocks
- Backslash Escapes
If you switch between Rich Text and Markdown you might experience unexpected effects with Block Quotes and Code Blocks, as these two formats can have differences in how they are handled.
To ease the process of authoring content fragments you can upload text, prepared in an external editor, and add it directly to the fragment.
Use Choose to add the contents of the text file to the paragraph system of your content fragment at the current location.
If there are any HTML tags in the text file then, when uploaded, these will appear as text, they will not be interpreted.
For example, after uploading a text file containing <b>Strong</b>, this will be shown in the content fragment as <b>Strong</b>, not as Strong.