How to get registerPastedNodesFilter

import registerPastedNodesFilter from 'fontoxml-clipboard/src/registerPastedNodesFilter.js'

Type: Function

Register a function to modify any XML nodes pasted from Fonto before they are included in the document.

When pasting any content that was copied from Fonto or from anything that outputs HTML, such as the browser or other text editors such as Microsoft Word or LibreOffice Writer, the provided function is called with the top-most nodes of the content being pasted, as well as a Blueprint in which the nodes may be modified.


# Name Type Description
1. filterPastedNodes Function
# Name Type Description
2. Blueprint
Was this page helpful?