Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Cannot input link #1562

Closed
2 tasks done
bsuooo opened this issue Nov 20, 2024 · 3 comments · May be fixed by #1574
Closed
2 tasks done

[Bug] Cannot input link #1562

bsuooo opened this issue Nov 20, 2024 · 3 comments · May be fixed by #1574
Assignees
Labels
bug Something isn't working

Comments

@bsuooo
Copy link

bsuooo commented Nov 20, 2024

Initial checklist

  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything (or linked relevant results below)

Affected packages and versions

"@milkdown/vue": "^7.5.0"

Link to runnable example

No response

Steps to reproduce

When I input link in the editor, it is not transformed into . Instead, the output displays as [link](). I am not sure if the issue is caused by the . However, if I set ctx.set(defaultValueCtx, 'link') during initialization, it displays correctly as .

I would like to know the correct way to input a link

Expected behavior

image
image

Actual behavior

null

Runtime

Chrome

OS

macOS

Build and bundle tools

No response

@bsuooo bsuooo added the bug Something isn't working label Nov 20, 2024
@bsuooo bsuooo changed the title [Bug] Cannot enter link unexpected "\", [Bug] Cannot input link Nov 20, 2024
@quank123wip
Copy link
Contributor

quank123wip commented Nov 26, 2024

This bug has existed since 7.4.0, I found the last working version is 7.3.2. Need more time to find out how to fix it.

@quank123wip
Copy link
Contributor

quank123wip commented Nov 26, 2024

After a little digg'in, I think this may caused by extracting plugin-automd out of preset-commonmark. You should just use plugin-automd then you got it. I think it's better to make plugin-automd shipped with crepe.

@bsuooo
Copy link
Author

bsuooo commented Nov 26, 2024

After a little digg'in, I think this may caused by extracting plugin-automd out of preset-commonmark. You should just use plugin-automd then you got it. I think it's better to make plugin-automd shipped with crepe.

its works, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants