Skip to content

Commit c7033c9

Browse files
committed
docs: improve autocomplete description
1 parent 9f351ce commit c7033c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const editor = grapesjs.init({
9898
| --- | --- | --- | --- |
9999
| `prefix` | Prefix to use for Tailwind CSS classes. Helps differentiate Tailwind classes from others. | `string` or `null` |`null` |
100100
| `autobuild` | If `true`, the plugin automatically rebuilds Tailwind CSS on each update. Set to false for manual builds. | `boolean` | `true` |
101-
| `autocomplete` | Controls the behavior of the autocomplete feature that provides Tailwind class name suggestions. If set to `true` (default), autocomplete is enabled and will use the default selector `#gjs-clm-new`. If set to `false`, autocomplete is disabled. If set to a `string`, that string will be used as a custom selector for the autocomplete. [See the autoComplete.js docs for more details on selector config](https://tarekraafat.github.io/autoComplete.js/#/configuration?id=selector-optional). | `boolean` or `string` | `true` |
101+
| `autocomplete` | Controls the behavior of the autocomplete feature that provides Tailwind class name suggestions. Set this option to `false` when using `GrapesJS Studio`, as it already provides its own class autocomplete. If set to `true` (default), autocomplete is enabled and will use the default selector `#gjs-clm-new`. If set to `false`, autocomplete is disabled. If set to a `string`, that string will be used as a custom selector for the autocomplete. [See the autoComplete.js docs for more details on selector config](https://tarekraafat.github.io/autoComplete.js/#/configuration?id=selector-optional). | `boolean` or `string` | `true` |
102102
| `customCss` | The URL of a CSS file or a raw CSS string that will be appended immediately after the `@import 'tailwindcss';` statement. This allows you to extend Tailwind's styles dynamically. [See the Tailwind docs for more details](https://tailwindcss.com/docs/theme). | `string` | `""` |
103103
| `buildButton` | Option to add a manual build button to the toolbar for triggering the CSS build process. | `boolean` | `false`|
104104
| `toolbarPanel` | Specify the panel where the build button should be added (e.g., `options`). | `string` | `options` |

0 commit comments

Comments
 (0)