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!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
Add a keyboard shortcut for adding a hyperlink
CorreyL8e8b695cbc43
diff --git a/libs/ui/src/components/rich-input.tsx b/libs/ui/src/components/rich-input.tsxindex badb74bf0..a68738301 100644--- a/libs/ui/src/components/rich-input.tsx+++ b/libs/ui/src/components/rich-input.tsx@@ -444,7 +444,16 @@ export const RichInput = forwardRef<Editor, RichInputProps>(Image,Underline,Highlight,- Link.configure({ openOnClick: false }),+ Link.extend({+ addKeyboardShortcuts() {+ return {+ "Mod-k": () => {+ setLinkGlobal(this.editor as Editor);+ return true;+ },+ };+ },+ }).configure({ openOnClick: false }),TextAlign.configure({ types: ["heading", "paragraph"] }),],editorProps: {