Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

Merge branch 'main' into feature/ctrl-k-for-hyperlink

Amruth Pillai219e6999dfc1
diff --cc libs/ui/src/components/rich-input.tsx
index a68738301,790cbba10..22824f101
--- a/libs/ui/src/components/rich-input.tsx
+++ b/libs/ui/src/components/rich-input.tsx
@@@ -444,16 -440,7 +444,17 @@@ export const RichInput = forwardRef<Edi
Image,
Underline,
Highlight,
- Link.extend({ inclusive: false }).configure({ openOnClick: false }),
+ Link.extend({
++ inclusive: false,
+ addKeyboardShortcuts() {
+ return {
+ "Mod-k": () => {
+ setLinkGlobal(this.editor as Editor);
+ return true;
+ },
+ };
+ },
+ }).configure({ openOnClick: false }),
TextAlign.configure({ types: ["heading", "paragraph"] }),
],
editorProps: {