From e66786a4f0578546ecea3a935495d16b9a78ac70 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Thu, 6 Nov 2025 15:10:24 -0800 Subject: [PATCH] fix API doc * fix #3180 * the style tag was causing doc generation issues --- doc/API.md | 2 +- src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/API.md b/doc/API.md index 0f6b01eae..4aa902da0 100644 --- a/doc/API.md +++ b/doc/API.md @@ -3755,7 +3755,7 @@ Defines the options for a Grid | `marginUnit?` | `string` | (internal) unit for margin (default? 'px') set when `margin` is set as string with unit (ex: 2rem') | [types.ts:320](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L320) | | `maxRow?` | `number` | maximum rows amount. Default? is 0 which means no maximum rows | [types.ts:323](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L323) | | `minRow?` | `number` | minimum rows amount which is handy to prevent grid from collapsing when empty. Default is `0`. When no set the `min-height` CSS attribute on the grid div (in pixels) can be used, which will round to the closest row. | [types.ts:328](https://github.com/adumesny/gridstack.js/blob/master/src/types.ts#L328) | -| `nonce?` | `string` | If you are using a nonce-based Content Security Policy, pass your nonce here and GridStack will add it to the