2022.1

Table Of Contents
Editing shared content
By default, an HTML snippet that is being used as shared content can also be modified in a
section where it is used. That way you actually adjust its source. The snippet will be changed at
all locations where it is used.
The option to modify shared content snippets from within a section can be turned off:
l In the menu, select View > Shared Content Editing to enable or disable editing of all
shared content.
l To enable or disable editing on a case by case basis, you can also manually set the
contenteditable attribute on the Article element of the shared content to true or
false. This overrides the menu setting.
Note
Remote snippets inserted as shared content cannot be changed from within the
Designer. Of course, their source file can be edited outside of the Designer. When that
happens, the changes will become visible in remote snippets that are inserted as shared
content.
Renaming a snippet
To rename a snippet, right-click it on the Resources pane in the Snippets folder and select
Rename.
If you rename a snippet that was inserted into a section as shared content, you need to update
the reference to the snippet manually:
1. Open the section in which the snippet is used.
2. Switch to Source view.
3. Look for the <article> element in the HTML and replace the old snippet name with the
new name in the source attribute.
Translating a snippet
Snippets in a multilingual template get translated at the moment they are inserted in the output,
if the text is tagged for translation. For more information see "Translating templates" on
page993 and "Tagging text in snippets" on page996.
Page 780