Type: Operation

Collapses any inline formatting or inline frame element (partially) contained in the current selection.

This operation collapses any (partially) selected element configured as inline formatting or inline frame. Fully selected elements will be converted completely. Partially selected elements configured as inline formatting will be split at the start and/or end of the selection, this may result in splitting the element(s) in to separate parts. Partially selected elements configured inline frame will be split at the start or end of the selection, but only when that action does not result in splitting the inline frame in two separate parts. This behaviour causes inline frames only to be converted when they are fully selected or when the selection starts outside of the inline frame element and ends in the inline frame element. When the selection is collapsed, this operation tries to extend the selection around any inline formatting or inline frame ancestor. This will only happen when the current selection does not have any sibling inline formatting or inline frame elements. This operation will ignore any other elements.

This is bound to control + space for all operating systems


Clear markup


Remove all markup within the selection.



Key binding

ctrl + space or ctrl + space

Imported operation data

  1. overrideRange


    The range to operate on instead of the selectionRange