tiptap/packages
Ken van der Eerden a9e8f48b34 Allow class attribute through setLink()
While you can set a default value for the Link extensions class attribute using 
```javascript
Link.configure({
  HTMLAttributes: {
    class: 'my-custom-class',
  },
})
```
It is currently not possible to dynamically set the class attribute when calling setLink() e.g. 
```javascript
this.editor.chain().focus().extendMarkRange('link').setLink({href: url, class: 'this class should be added'}).run();
```

This change allows for that by default, without needing to extend the Link extension.
2022-05-09 13:24:58 +02:00
..
core Publish 2022-04-27 22:50:51 +02:00
extension-blockquote Publish 2021-12-02 15:12:39 +01:00
extension-bold Publish 2022-02-03 15:03:13 +01:00
extension-bubble-menu Publish 2022-04-27 22:50:51 +02:00
extension-bullet-list Publish 2021-12-22 12:43:00 +01:00
extension-character-count Publish 2022-04-27 22:50:51 +02:00
extension-code Publish 2021-12-02 15:12:39 +01:00
extension-code-block Publish 2022-01-26 09:38:01 +01:00
extension-code-block-lowlight Publish 2022-01-26 09:38:01 +01:00
extension-collaboration Publish 2022-01-04 10:15:07 +01:00
extension-collaboration-cursor Publish 2022-01-04 10:15:07 +01:00
extension-color Publish 2021-11-22 10:17:43 +01:00
extension-document Publish 2021-11-09 16:51:34 +01:00
extension-dropcursor Publish 2021-11-17 19:25:46 +01:00
extension-floating-menu Publish 2022-04-27 22:50:51 +02:00
extension-focus Publish 2022-01-25 10:53:30 +01:00
extension-font-family Publish 2022-01-04 10:15:07 +01:00
extension-gapcursor Publish 2022-01-04 10:15:07 +01:00
extension-hard-break Publish 2021-11-09 16:51:34 +01:00
extension-heading Publish 2022-01-20 15:07:41 +01:00
extension-highlight Publish 2022-01-20 15:07:41 +01:00
extension-history Publish 2021-11-09 16:51:34 +01:00
extension-horizontal-rule Publish 2022-01-24 22:49:56 +01:00
extension-image Publish 2022-02-11 11:00:50 +01:00
extension-italic Publish 2022-02-03 15:03:13 +01:00
extension-link Allow class attribute through setLink() 2022-05-09 13:24:58 +02:00
extension-list-item Publish 2021-12-02 15:12:39 +01:00
extension-mention Publish 2022-04-27 22:50:51 +02:00
extension-ordered-list Publish 2021-12-22 12:43:00 +01:00
extension-paragraph Publish 2021-12-02 15:12:39 +01:00
extension-placeholder Publish 2022-02-03 15:03:13 +01:00
extension-strike Publish 2021-12-02 15:12:39 +01:00
extension-subscript Publish 2021-12-02 15:12:39 +01:00
extension-superscript Publish 2021-12-02 15:12:39 +01:00
extension-table Remove prosemirror-code from table extension build 2022-04-29 10:35:06 +02:00
extension-table-cell Publish 2021-11-09 16:51:34 +01:00
extension-table-header Publish 2021-11-09 16:51:34 +01:00
extension-table-row Publish 2021-11-09 16:51:34 +01:00
extension-task-item Publish 2022-04-27 22:50:51 +02:00
extension-task-list Publish 2021-12-22 12:43:00 +01:00
extension-text Publish 2021-11-09 16:51:34 +01:00
extension-text-align Publish 2021-12-02 15:12:39 +01:00
extension-text-style Publish 2021-12-02 15:12:39 +01:00
extension-typography Publish 2022-02-07 09:10:11 +01:00
extension-underline Publish 2022-02-03 15:03:13 +01:00
html Publish 2022-04-27 22:50:51 +02:00
react Publish 2022-04-27 22:50:51 +02:00
starter-kit Publish 2022-04-27 22:50:51 +02:00
suggestion again 2022-04-29 12:47:11 +02:00
vue-2 Publish 2022-04-27 22:50:51 +02:00
vue-3 Publish 2022-04-27 22:50:51 +02:00