Comparing version 2.0.2 to 2.0.3
@@ -14,3 +14,3 @@ { | ||
}, | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"scripts": { | ||
@@ -17,0 +17,0 @@ "dev": "vite dev", |
@@ -124,11 +124,13 @@ <div align="center"> | ||
| Name | Type | Description | | ||
| ------------------ | ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `markedExtensions` | `marked.MarkedExtension[]` | Marked extensions, more on that [here](https://marked.js.org/using_advanced) | | ||
| `shortcuts` | `KeyboardShortcut[]` | Additional keyboard shortcuts | | ||
| `icons` | `CartaIcon[]` | Additional icons | | ||
| `prefixes` | `Prefix[]` | Additional prefixes | | ||
| `listeners` | `CartaListener[]` | Textarea event listeners | | ||
| `components` | `CartaExtensionComponentArray` | Additional components, that will be put after the editor. All components are given a `carta: Carta`. prop The editor has a `relative` position, so you can position elements absolutely | | ||
| `highlightRules` | `HighlightRule[]` | Custom markdown highlight rules. See [Speed-Highlight Wiki](https://github.com/speed-highlight/core/wiki/Create-or-suggest-new-languages). | | ||
| Name | Type | Description | | ||
| ------------------ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `markedExtensions` | `marked.MarkedExtension[]` | Marked extensions, more on that [here](https://marked.js.org/using_advanced) | | ||
| `shortcuts` | `KeyboardShortcut[]` | Additional keyboard shortcuts | | ||
| `icons` | `CartaIcon[]` | Additional icons | | ||
| `prefixes` | `Prefix[]` | Additional prefixes | | ||
| `listeners` | `CartaListener[]` | Textarea event listeners | | ||
| `components` | `CartaExtensionComponentArray` | Additional components, that will be put after the editor. All components are given a `carta: Carta`. prop The editor has a `relative` position, so you can position elements absolutely | | ||
| `highlightRules` | `HighlightRule[]` | Custom markdown highlight rules. See [Speed-Highlight Wiki](https://github.com/speed-highlight/core/wiki/Create-or-suggest-new-languages). | | ||
| `cartaRef` | `(carta: Carta) => void` | This function can be used to access a reference to the `Carta` class immediately after initialization. | | ||
| `shjRef` | `(functions: HighlightFunctions) => void` | This function can be used to access a reference to all highlight functions immediately after initialization. | | ||
@@ -135,0 +137,0 @@ If you created a plugin and want to share it, you can open an _issue_ and we will consider sponsoring it on this guide. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
128923
143