fix link creation in visual editor
This commit is contained in:
parent
bd767308cd
commit
b293b235bb
@ -73,7 +73,7 @@ export default function markdownToProseMirror({ state }) {
|
||||
case 'strong':
|
||||
return { pmType: type };
|
||||
case 'link':
|
||||
return { pmType: 'strong' };
|
||||
return { pmType: type, attrs: { href: url } };
|
||||
case 'inlineCode':
|
||||
return { pmType: 'code' };
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user