docblocks-core 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -56,8 +56,9 @@ silently.
|
|
|
56
56
|
|
|
57
57
|
## The Doc
|
|
58
58
|
|
|
59
|
-
`createDoc(options?)` builds a document with
|
|
60
|
-
|
|
59
|
+
`createDoc(options?)` builds a document with only the root block (an empty
|
|
60
|
+
page — no auto first paragraph; the react-ui editor guarantees the trailing
|
|
61
|
+
editable paragraph). The other entry points:
|
|
61
62
|
|
|
62
63
|
- `fromJSON(json)` — build a `Doc` from a JSON snapshot.
|
|
63
64
|
- `loadDoc(bytes)` — build a `Doc` from an encoded full state (a base
|
package/package.json
CHANGED