This is a story of master feature #197
The editor is in components/editor
Expected Behavior
Links should have an _blank attribute so they open in a new tab.
Current Behavior
Links in the editor are fine. Links in rendered html (click preview in the editor) are missing this attr. Likely need to add to the config of Dom purifier in RenderPost.tsx
Steps to reproduce
load the app and go to /alpha/create/new
add a link
click preview
inspect the link in the dev tools, there will be no target="_blank" att.
Context
This is a story of master feature #197 The editor is in components/editor
Expected Behavior
Links should have an
_blank
attribute so they open in a new tab.Current Behavior
Links in the editor are fine. Links in rendered html (click preview in the editor) are missing this attr. Likely need to add to the config of Dom purifier in RenderPost.tsx
Steps to reproduce
Additional info
https://www.npmjs.com/package/dompurify#can-i-configure-dompurify