mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-20 06:01:24 +02:00
fix read-only example readme
This commit is contained in:
BIN
docs/images/read-only-example.png
Normal file
BIN
docs/images/read-only-example.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 90 KiB |
@@ -1,8 +1,8 @@
|
||||
|
||||
# Plain Text Example
|
||||
# Read-only Example
|
||||
|
||||

|
||||

|
||||
|
||||
This is the most basic Slate example. It's basically a glorified `<textarea>`. But it gives you a sense for the absolute basics of Slate.
|
||||
This example shows how you can render Slate in "read-only" mode, where the user can still see the document exactly as it would normal be rendered, but they cannot edit the content in any way. This is useful for cases where the user has "see" persmissions but not "edit" permissions.
|
||||
|
||||
Check out the [Examples readme](..) to see how to run it!
|
||||
|
Reference in New Issue
Block a user