oasis-editor 0.0.327 → 0.0.328
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 +11 -0
- package/dist/{OasisEditorApp-BKI4ByVG.js → OasisEditorApp-DypG7JZe.js} +1 -1
- package/dist/app/client/OasisEditorClient.d.ts +1 -0
- package/dist/defaultToolbar-BnVz03A0.js +1 -0
- package/dist/oasis-editor.css +1 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ui/OasisEditorAppProps.d.ts +7 -0
- package/dist/ui/components/Toolbar/primitives/Menu.d.ts +5 -0
- package/package.json +1 -1
- package/dist/defaultToolbar-BN5Wbr1A.js +0 -1
package/README.md
CHANGED
|
@@ -279,6 +279,17 @@ export function PluginDialog(props: { open: boolean; onClose: () => void }) {
|
|
|
279
279
|
|
|
280
280
|
## Toolbar And Menubar Customization
|
|
281
281
|
|
|
282
|
+
`ui.toolbar` picks how the toolbar looks:
|
|
283
|
+
|
|
284
|
+
- `view`: `"ribbon"` (default, Word-like tabs and groups) or `"compact"` (one strip).
|
|
285
|
+
- `layout`: `"overflow"` (default) or `"wrap"` for the compact strip.
|
|
286
|
+
- `ribbonStyle`: `"classic"` (default) or `"simplified"`, Office's one-line
|
|
287
|
+
ribbon for embedded editors: tabs stay, each panel is a single row of small
|
|
288
|
+
commands, and groups that do not fit become "icon Name ▾" popups. The
|
|
289
|
+
toolbar drops from 118px to 74px.
|
|
290
|
+
|
|
291
|
+
Collapsed groups keep their name in both styles.
|
|
292
|
+
|
|
282
293
|
Customize the toolbar and menubar after built-ins and plugin contributions are
|
|
283
294
|
registered:
|
|
284
295
|
|