Drag-and-drop a selection to create a style
Another little known property of the Styles and Formatting window is the capability of creating a new style with a simple drag-and-drop of a text selection into the Styles and Formatting window.
- Open the Styles and Formatting window.
- Select the style category you are going to create (for example a character style) using one of the five icons in the top left part of the window.
- Select the object you want to base the style on and drag it to the Styles and Formatting window. The cursor changes its shape indicating whether the operation is possible or not.
- In the Create Style dialog box, enter a name for the new style. The list shows the names of existing custom styles of the selected type, if any. Click OK to save the new style.
| You cannot use the drag-and-drop method to create a custom page style.
|