1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-03-07 14:30:04 +01:00

add browser and device support to faq, closes

This commit is contained in:
Ian Storm Taylor 2016-11-28 10:28:00 -08:00
parent 1c396c11d9
commit 919d4b5a3a

@ -4,6 +4,7 @@
A series of common questions people have about Slate:
- [Why is content pasted as plain text?](#how-come-content-is-pasted-as-plain-text)
- [What browsers and devices does Slate support?](what-browsers-and-devices-does-slate-support)
### Why is content pasted as plain text?
@ -13,3 +14,10 @@ One of Slate's core principles is that, unlike most other editors, it does **not
For this most part, this leads to increased flexbility without many downsides, but there are certain cases where you have to do a bit more work. Pasting is one of those cases.
Since Slate knows nothing about your schema, it can't know how to parse pasted HTML content (or other content). So, by default whenever a user pastes content into a Slate editor, it will parse it as plain text. If you want it to be smarter about pasted content, you need to define an [`onPaste`](../reference/components/editor.md#onpaste) handler that parses the content as you wish.
### What browsers and devices does Slate support?
Slate's goal is to support all of the modern browsers on both desktop and mobile devices.
However, right now Slate is in beta, so its support is not as full as it will later be. It's currently tested against the latest few versions of Chrome, Firefox and Safari on desktops. It isn't currently tested against Internet Explorer or Edge, or against mobile devices. If you want to add more browser or device support, we'd love for you to submit a pull request!