oasis-editor 0.0.326 → 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 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