-
-
Notifications
You must be signed in to change notification settings - Fork 6
i18n(fr): add package-catalog/studiocms-plugins/studiocms-wysiwyg
#124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dreyfus92
merged 2 commits into
withstudiocms:main
from
ArmandPhilippot:i18n/fr-add-package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx
Apr 21, 2025
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
src/content/docs/fr/package-catalog/studiocms-plugins/studiocms-wysiwyg.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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'; | ||
|
|
||
| # 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(), | ||
| ], | ||
| }); | ||
| ``` | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
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, TabItemn’est pas utilisé et contient manifestement une espace fine insécable avant le;.;.;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)
There was a problem hiding this comment.
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! 👀
There was a problem hiding this comment.
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