disable link prompts
This commit is contained in:
parent
e406c2fdf5
commit
24edbc085c
5 changed files with 7 additions and 7 deletions
|
@ -28,14 +28,14 @@ function ChannelContent(props: Props) {
|
|||
<Fragment>
|
||||
{description && (
|
||||
<div className="media__info-text media__info-text--constrained">
|
||||
<MarkdownPreview content={description} promptLinks />
|
||||
<MarkdownPreview content={description} />
|
||||
</div>
|
||||
)}
|
||||
{email && (
|
||||
<Fragment>
|
||||
<label>{__('Contact')}</label>
|
||||
<div className="media__info-text">
|
||||
<MarkdownPreview content={formatEmail(email)} promptLinks />
|
||||
<MarkdownPreview content={formatEmail(email)} />
|
||||
</div>
|
||||
</Fragment>
|
||||
)}
|
||||
|
@ -43,7 +43,7 @@ function ChannelContent(props: Props) {
|
|||
<Fragment>
|
||||
<label>{__('Site')}</label>
|
||||
<div className="media__info-text">
|
||||
<MarkdownPreview content={website} promptLinks />
|
||||
<MarkdownPreview content={website} />
|
||||
</div>
|
||||
</Fragment>
|
||||
)}
|
||||
|
|
|
@ -35,7 +35,7 @@ function Comment(props: Props) {
|
|||
<div>
|
||||
<Expandable>
|
||||
<div className={'comment__message'}>
|
||||
<MarkdownPreview content={message} promptLinks />
|
||||
<MarkdownPreview content={message} />
|
||||
</div>
|
||||
</Expandable>
|
||||
</div>
|
||||
|
|
|
@ -45,7 +45,7 @@ class FileDetails extends PureComponent<Props> {
|
|||
{description && (
|
||||
<Fragment>
|
||||
<div className="media__info-text">
|
||||
<MarkdownPreview content={description} promptLinks />
|
||||
<MarkdownPreview content={description} />
|
||||
</div>
|
||||
</Fragment>
|
||||
)}
|
||||
|
|
|
@ -44,7 +44,7 @@ class PreviewLink extends React.PureComponent<Props> {
|
|||
<span className={'claim-preview-properties'}>
|
||||
<span className={'preview-link__description media__subtitle'}>
|
||||
<TruncatedText lines={2} showTooltip={false}>
|
||||
<MarkdownPreview content={description} promptLinks strip />
|
||||
<MarkdownPreview content={description} strip />
|
||||
</TruncatedText>
|
||||
</span>
|
||||
</span>
|
||||
|
|
|
@ -86,7 +86,7 @@ class DocumentViewer extends React.PureComponent<Props, State> {
|
|||
const markdownType = ['md', 'markdown'];
|
||||
if (markdownType.includes(fileType) || contentType === 'text/markdown' || contentType === 'text/md') {
|
||||
// Render markdown
|
||||
viewer = <MarkdownPreview content={content} promptLinks />;
|
||||
viewer = <MarkdownPreview content={content} />;
|
||||
} else {
|
||||
// Render plain text
|
||||
viewer = <CodeViewer value={content} contentType={contentType} theme={theme} />;
|
||||
|
|
Loading…
Reference in a new issue