24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Author</strong>ing in the Visual Editor | 90Figure 54: Content completion windowIf you press (Enter) the displayed content completion window will contain as first entries the Split items. Usually you can only split the closest block element to the caret position but if it is inside a list item, the list itemwill also be proposed for split. Selecting Split splits the content of the specified element around thecaret position. Thus, if the caret is positioned at the beginning or at the end of the element, the newly created siblingwill be empty.If the caret is positioned inside a space preserve element the first choice in the content completion window is Enterwhich inserts a new line in the content of the element. If there is a selection in the editor and you invoke contentcompletion, a Surround with operation can be performed. The tag used will be the selected item from the contentcompletion window.By default you are not allowed to insert element names which are not considered by the associated schema as validproposals in the current context. This can be changed by unchecking the Allow only insertion of valid elements andattributes check box from the Schema aware preferences page.Joining two elements - You can choose to join the content of two sibling elements with the same name by using thecontextual menu > Join elements action.The same action can be triggered also in the next situations:• The caret is located before the end position of the first element and (Delete) key is pressed.• The caret is located after the end position of the first element and (Backspace) key is pressed.• The caret is located before the start position of the second element and (Delete) key is pressed.• The caret is located after the start position of the second element and (Backspace) key is pressed.In either of the described cases, if the element has no sibling or the sibling element has a different name, Unwrapoperation will be performed automatically.Unwrapping the content of an element - You can unwrap the content of an element by deleting its tags using theDelete element tags action from the editor contextual menu.The same action can be triggered in the next situations:• The caret is located before the start position of the element and (Delete) key is pressed.• The caret is located after the start position of the element and (Backspace) key is pressed.• The caret is located before the end position of the element and (Delete) key is pressed.• The caret is located after the end position of the element and (Backspace) key is pressed.Removing all the markup of an element - You can remove the markup of the current element and keep only the textcontent with the action Remove All Markup available on the submenu Refactoring of the contextual menu andon the toolbar <strong>XML</strong> Refactoring.When you press (Delete) or (Backspace) in the presented cases the element is unwrapped or it is joined with its sibling.If the current element is empty, the element tags will be deleted.When you click on a marker representing the start or end tag of an element, the entire element will be selected. Thecontextual menu displayed when you right-click on the marker representing the start or end tag of an element containsAppend child, Insert Before and Insert After submenus as first entries.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!