Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(editor-toolbar): create DictyLinkNode to extend LinkNode and add…
… filename as download attribute This change introduces a new node type, `DictyLinkNode`, which extends the existing `LinkNode` from `@lexical/link`. This new node allows specifying a `download` attribute, effectively setting a suggested filename when the linked resource is downloaded. The filename is extracted from the attributes during node construction, leveraging `fp-ts` for safe handling of nullable or undefined values. This enhancement provides more control over how links are handled, particularly for downloadable resources.
- Loading branch information