- Paligo Documentation
- Author
- Elements and Attributes
- Remove Elements
Elements and Attributes
Remove Elements
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:
If you are unfamiliar with the concept of "parent" and "child" elements, see Parent and child relationships in structured content.
Delete text and leave the structural elements in place
Remove an element but leave its content in place (this only applies to inline elements, such as
emphasisandguilabel).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.
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.
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.
Delete Elements with XML Tree View
This section describes how to delete an element using the XML Tree View.
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 Parent and child relationships in structured content.
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.
NoteIf you are unsure, select Cancel to keep the content and abort the deletion.
Delete Elements with Element Structure Menu
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.

Delete Inline 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.
Alternatively, you can delete the inline element and the content inside it. To do this, click on the inline element and then either use a keyboard shortcut:
Mac: Option ⌥ + Shift ⇧ + F
Windows: Alt + Shift + F
OR
Select the element in the Element Structure Menu and then select Delete.










