Set link as anchor (href="#hash") #3063
ssa-serg
started this conversation in
Ideas & Enhancements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I can't set link's href as anchor. Default LinkToolbar implementation has a function validateUrl. This function sets link's href https:// as default. I think this issue can be resolved by adding option to links of hook useCreateBlockNote. For example, validateUrl as custom function for validation.
Current Behavior
Expected Behavior
Thanks!
All reactions