Darginec05 / Yoopta-Editor

Build Notion-like, Craft-like, Coda-like, Medium-like editors with Yoopta
https://yoopta.dev/
MIT License
784 stars 61 forks source link

feat add dynamic handling for link rel and target attributes #160

Closed silverlila closed 1 month ago

silverlila commented 1 month ago

Description

This pull request introduces the ability to dynamically update the target and rel attributes of a link within the LinkTool. This enhancement addresses a use case where these attributes need to be customizable for different links, allowing flexibility and control over link behavior. The current implementation allows passing attributes like target and rel through the onSave callback, providing the ability to customize each link based on specific needs.

Fixes #159

Type of change

Please delete options that are not relevant.

Checklist:

vercel[bot] commented 1 month ago

@silverlila is attempting to deploy a commit to the dargo's projects Team on Vercel.

A member of the Team first needs to authorize it.

Darginec05 commented 1 month ago

Thanks for contributing!