Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
i18nReady: true
title: "@studiocms/wysiwyg"
type: integration
catalogEntry: studiocms-wysiwyg
description: "Ajoutez facilement un éditeur WYSIWYG à votre projet StudioCMS !"
sidebar:
badge:
text: 'Expérimental'
variant: 'danger'
---

import { PackageManagers } from 'starlight-package-managers'
import { Steps, Tabs, TabItem } from '@astrojs/starlight/components';

Comment on lines +13 to +15
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot Apr 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Unify imports & remove non-breaking space
L’import Steps, Tabs, TabItem n’est pas utilisé et contient manifestement une espace fine insécable avant le ;.

  • Si vous n’avez pas besoin de ces composants, supprimez la ligne entière.
  • Sinon, remplacez la fine insécable par une espace normale ou supprimez tout simplement l’espace avant le ;.
  • Profitez‑en pour uniformiser la présence de ; dans vos imports (ajouter un ; à la ligne 13 ou retirer celui de la ligne 14).
🧰 Tools
🪛 LanguageTool

[uncategorized] ~14-~14: Le point-virgule est précédé d’une espace fine insécable.
Context: ...em } from '@astrojs/starlight/components'; # Présentation Ce plugin ajoute facil...

(FRENCH_WHITESPACE)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used and not uniform, it's true (as in the English version) but you're hallucinating for the non-breaking space! 👀

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ArmandPhilippot You're absolutely right! I apologize for my error about the non-breaking space. Looking at the code again, there's no evidence of any unusual spacing - the LanguageTool detection gave a false positive that I incorrectly repeated.

Thank you for confirming the unused imports and the uniformity issue, and for catching my mistake!

( ̄  ̄\) embarrassed rabbit

# Présentation

Ce plugin ajoute facilement un éditeur WYSIWYG à votre projet StudioCMS !

## Installation

1. Installez le paquet à l’aide de la commande suivante :

<PackageManagers pkg="studiocms" type='run' args='add @studiocms/wysiwyg' />

2. Votre configuration StudioCMS devrait désormais inclure `@studiocms/wysiwyg` :

```ts twoslash title="studiocms.config.mjs" {2, 6}
import { defineStudioCMSConfig } from 'studiocms/config';
import wysiwyg from '@studiocms/wysiwyg';

export default defineStudioCMSConfig({
plugins: [
wysiwyg(),
],
});
```
Loading