oasis-editor 0.0.349 → 0.0.350
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/README.md +10 -0
- package/dist/OasisEditorApp-EYpvLWKD.js +1 -0
- package/dist/{defaultToolbar-BZ7wJMOx.js → defaultToolbar-BfAiuPv2.js} +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/OasisEditorAppProps.d.ts +2 -0
- package/dist/ui/OasisEditorEditorProps.d.ts +1 -0
- package/dist/ui/app/buildEditorViewProps.d.ts +1 -0
- package/dist/ui/editorLayoutConstants.d.ts +2 -0
- package/package.json +1 -1
- package/dist/OasisEditorApp-BitptpU0.js +0 -1
package/README.md
CHANGED
|
@@ -30,6 +30,16 @@ bundle you can import into your app.
|
|
|
30
30
|
|
|
31
31
|
Try the [Playground](https://celsowm.github.io/oasis-editor/).
|
|
32
32
|
|
|
33
|
+
## Page spacing for embedded editors
|
|
34
|
+
|
|
35
|
+
Set `ui.pageGutter` to a non-negative number of CSS pixels to control the space
|
|
36
|
+
outside the pages. The default remains unchanged when the option is omitted.
|
|
37
|
+
This controls the editor viewport, not the page margins or exported document.
|
|
38
|
+
|
|
39
|
+
```ts
|
|
40
|
+
const options = { ui: { pageGutter: 4 } };
|
|
41
|
+
```
|
|
42
|
+
|
|
33
43
|
## Why Oasis?
|
|
34
44
|
|
|
35
45
|
Oasis is built around a document model and rendering pipeline that are separate
|