Clipboard

Fonto can interact with the browser's clipboard. It can read pasted content from it and it can write copied content to it. The content on the clipboard is represented in a few different data formats. The availability of these formats depends on the source application.

XML

The first format that Fonto tries to use when pasting content is the application/xml format. This format is mainly used when copying and pasting content within Fonto itself. It contains the raw XML that was selected before copying or cutting content.

HTML

The text/html format is the second format that Fonto tries to use when pasting content. This format is used when the XML format is not available or when pasting the XML content failed.

Plain text

The text/plain format is the last format that Fonto tries to use when pasting content. This format is used when both the XML and HTML are either not available or when pasting the the content failed.

Plain text is the simplest data format found on the clipboard. This format is available for virtually every paste action. Some applications only put plain text on the clipboard. Examples of such applications are notepad, terminals and PDF readers.

Plain text does not contain any markup like bold text or structures like tables and lists. Still, some formatting can be extracted from plain text. You can read more about this on the Plain Text Clipboard page.

Was this page helpful?