---
title: "markupToolbarViewController(_:insertNewContents:)"
framework: paperkit
role: symbol
role_heading: Instance Method
path: "paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewcontents:)"
---

# markupToolbarViewController(_:insertNewContents:)

Add new content on top of the paper.

## Declaration

```swift
func markupToolbarViewController(_ markupToolbarViewController: MarkupToolbarViewController, insertNewContents toInsert: PaperMarkup)
```

## Parameters

- `markupToolbarViewController`: The source of the action.
- `toInsert`: The markup whose contents is added on top of this paper.

## Discussion

Discussion This is used for inserting any custom content, and non-shape elements like signatures or loupes.

## See Also

### Inserting content

- [markupToolbarViewController(_:insertNewShape:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewshape:).md)
- [markupToolbarViewControllerInsertNewTextbox(_:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontrollerinsertnewtextbox(_:).md)
- [markupToolbarViewController(_:insertNewLineWithStartMarker:endMarker:)](paperkit/markuptoolbarviewcontroller/delegate-swift.protocol/markuptoolbarviewcontroller(_:insertnewlinewithstartmarker:endmarker:).md)
