You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be nice to be able to easily validate and configure metadata for multiple links.
e.g. if the path is relative we would want to add different rel and target attributes compared to when the link goes out to a different domain.
Being able to modify the href before tiptap inserts it into the editor would also be nice. e.g. on same domain strip the domain, remove tracking params etc.
Use Case
Applying different rules depending on the provided href to have a distinction between e.g. our own domains, trusted domains and untrusted domains
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
I think it would be nice to be able to easily validate and configure metadata for multiple links.
e.g. if the path is relative we would want to add different
rel
andtarget
attributes compared to when the link goes out to a different domain.Being able to modify the href before tiptap inserts it into the editor would also be nice. e.g. on same domain strip the domain, remove tracking params etc.
Use Case
Applying different rules depending on the provided href to have a distinction between e.g. our own domains, trusted domains and untrusted domains
Type
New feature
Beta Was this translation helpful? Give feedback.
All reactions