Learn how to delete content in Paligo or move it to the trash. You can also restore trashed or deleted content.
To remove content from Paligo, you can either:
-
Delete the content - If you delete the content, it is removed completely. But it is possible to restore deleted topics and publications, if needed.
-
Move the content to the trash - Moving content to the trash means you can view the "deleted" content more easily, as you can see what is in the trash folder. You can restore content from the trash folder if needed. To learn about the move to trash feature, see Move to Trash.
If you have content that is reused, Paligo may prevent you from deleting it. This is so that you do not accidentally delete a topic or publication that is needed elsewhere. To find out about the checks Paligo makes and how you can delete reused content, see Rules for Deleting Reused Content and Find and Remove Dependencies.
You can use the Content Manager to delete components, such as topics, informaltopics, and images.
-
In the Content Manager, browse to the component that you want to delete.
-
Select the options menu ( ... ) for the component and then select Delete.
Paligo will check to see if the component has any dependencies. Your content has a dependency if it is reused in another topic or publication or if another topic links to your content. If there is a dependency, Paligo will either ask you if you want to proceed with the deletion or it will tell you the component cannot be deleted (see Rules for Deleting Reused Content).
-
If you want to proceed with the deletion, select Delete Items.
Paligo deletes the component from the database.
Note
If you have accidentally deleted a publication or topic, you can restore it from the dashboard (see Restore Deleted Content).
As Paligo uses structured content, you have more control over deleting your content. With a single action, you can delete entire structures, individual elements, or only the content inside an element. This is one of the benefits of structured content. Depending on what you want to achieve, you can:
Tip
If you are unfamiliar with the concept of "parent" and "child" elements, see Understanding Content Structures.
-
Delete text and leave the structural elements in place
-
Delete an element but leave its content in place (this only applies for inline elements, such as
emphasis
andguilabel
). -
Delete an element to remove the content of the element. When you delete an element, Paligo will remove:
-
The selected element
-
Any text or other content inside the element
-
Any "child" elements inside the element
-
Any text or other content inside the "child" elements.
You can view the structure by looking at the XML Tree View.
The structure from the top-level section to the currently selected element is also shown in the Element Structure Menu.
-
Note
As Paligo uses structured content, you cannot just highlight multiple sections of a page and press delete. That's not how structured content works. Your content elements are in a hierarchy and so need to be deleted as structures, either as individual elements or as "parent" plus "child" elements.
Tip
If you want to delete an inline element, such as emphasis
, rather than an entire block of text, see Delete Inline Elements.
If you accidentally delete a paragraph, there is a way to restore it. You can use Reuse Text Fragments to search for the paragraph and then insert it again. However, this is only possible for a limited time period after the deletion took place (approximately one day). Alternatively, you could use Revert a Text Fragment to a Previous Revision.
This section describes how to delete an element using the XML Tree View.
Caution
If you delete an element, you will also delete its "child" elements. If you are unfamiliar with the concept of "parent" and "child" elements, see Understanding Content Structures.
Tip
If you need to move the copy to a new position in the structure, select it in the XML Tree View and drag it to the new position.
-
Open a topic in the Editor.
-
Select the XML Tree View in the side panel.
-
Expand the hierarchy until you can see the element that you want to delete.
The XML Tree View shows the main elements in your topic as blue boxes, arranged in a hierarchy that matches the structure. Any box with a white cross has lower level content. If you select the white cross icon, the tree expands to show the lower levels.
-
Position the cursor over the element you want to delete.
Paligo displays a copy icon and a delete icon.
-
Select the X to the right of the element to delete it
-
Select Confirm. If you are unsure, select to keep the content and abort the deletion.
You can use the Element Structure Menu to delete an element.
-
Click inside the block element you want to delete.
-
Select the same element in the Element Structure Menu. For example, if you wanted to delete a paragraph, select
para
. -
Select Delete.
Paligo deletes the element.
-
Select Save.
To use keyboard shortcuts to delete elements inside a topic:
-
Click in the element you want to delete.
-
Use the following keyboard shortcuts:
Mac: Option ⌥ + Shift ⇧ + D
Windows: Alt + Shift + D
Paligo removes the element and the content inside the element, including any "child" elements.
To delete inline elements, such as guilabel
, tag
, and emphasis
without deleting the content inside them:
-
Click on the inline element you want to delete.
Paligo shows the element in the Element Structure Menu.
-
Select the Remove Formatting button in the toolbar.
Paligo deletes the inline element without deleting the content inside the inline element.
Each element in Paligo can have attributes, which are properties. For example, a paragraph could have a role attribute with the value "example-style" so that it can be styled differently from other paragraphs by using CSS. If an attribute is no longer needed, you can delete it.
To remove an applied attribute:
-
Select the element in the topic.
-
Place the cursor in the Element Structure Menu below the toolbar.
-
Select the element and choose Go to element to show the attributes for this particular element.
The Element Attributes Panel. now shows the attributes for the selected element.
-
Place the cursor over the attribute in the Element Attributes Panel and select the X to remove it from the element.
-
Select Save.
When you try to delete content, Paligo will check how the deletion will affect your remaining topics. If the remaining topics will be broken by the deletion, Paligo will either:
-
Prevent you from deleting the content
-
Ask you if you want to go ahead with the deletion, even though the content will break links in other topics.
To do this, Paligo has some internal rules that involve checking your content for "dependencies". A dependency is when a topic or some other component needs to reference another component.
The checks that Paligo runs include:
-
Do any topics link to the component you are trying to delete?
-
Do any publications contain the component you are trying to delete?
-
Do any topics contain the component you are trying to delete?
-
Are there any components with dependencies inside the folder (this only applies to folders)?
If the answer is yes, there is a dependency. Depending on the scenario, Paligo will either ask you if you want to proceed with the deletion or it will tell you that the component cannot be deleted.
If you choose to proceed with a deletion, the component will be deleted, but this will result in broken links and missing content from other topics. It is a good idea to remove these dependencies before you delete, so that other topics do not have missing content.
If Paligo will not allow you to delete the component, you can Find and Remove Dependencies, and then try again. When there are no dependencies, Paligo will let you delete the component.
If Paligo will not allow you to delete content because of dependencies, you will either need to keep the content or remove the dependencies.
You can use the Metadata information to find the dependencies, and then you will need to delete those manually in each topic, publication, or other component. To access the Metadata information, select the options menu ( ... ) for the reused publication or topic you want to delete, and then select Edit > Open Structure.
The dependencies information is in the Used in, Uses, and Related publications categories. To find out more, see Find Where Content is Reused.
Have you accidentally deleted a publication or topic? Don't worry, you can recover them from the Activity Feed on your dashboard.
Note
If you moved content to the trash rather than deleted it, see Move to Trash.
-
Select Dashboard in the top menu in Paligo.
Paligo displays your dashboard.
-
In the Activity Feed section of your dashboard, find the activity record that was made when you deleted the content.
-
Select the Restore Document option.
Paligo displays the Restore Document dialog.
-
Use the Restore Document dialog to choose where the restored content should go.
-
Select Restore.
Paligo recovers the deleted content and places it in the folder you selected in step 4.
Comments
0 comments
Article is closed for comments.