We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de24e0a commit 75cd509Copy full SHA for 75cd509
1 file changed
apps/web/modules/event-types/components/tabs/setup/EventSetupTab.tsx
@@ -143,9 +143,12 @@ export const EventSetupTab = (
143
</Label>
144
<Editor
145
getText={() => md.render(formMethods.getValues("description") || "")}
146
- setText={(value: string) =>
147
- formMethods.setValue("description", turndown(value), { shouldDirty: true })
148
- }
+ setText={(value: string) => {
+ // Clean up non-breaking spaces
+ const cleanedValue = value.replace(/ /g, ' ');
149
+ const markdownValue = turndown(cleanedValue);
150
+ formMethods.setValue("description", markdownValue, { shouldDirty: true });
151
+ }}
152
excludedToolbarItems={["blockType"]}
153
placeholder={t("quick_video_meeting")}
154
editable={!descriptionLockedProps.disabled}
0 commit comments