Skip to content

Commit 3ca5039

Browse files
authored
[frontend] force https protocol by default if no one is set on links (#4262)
1 parent 1fdab37 commit 3ca5039

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openaev-front/src/components/CKEditor.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ const CKEditor = (props: CKEditorProps<ClassicEditor> & { toolbarDropdownSize?:
193193
const config: EditorConfig = {
194194
...CKEDITOR_DEFAULT_CONFIG,
195195
language: locale.slice(0, 2),
196+
link: { defaultProtocol: 'https://' },
196197
};
197198

198199
useEffect(() => {

0 commit comments

Comments
 (0)