# 定型文でのカスタムハイパーリンクはもう使えませんか？

**URL:** https://meta.discourse.org/t/no-more-custom-hyperlinks-in-canned-text/185196
**Category:** Support
**Created:** [2021 年 4 月 2 日午前 12:30 UTC](https://meta.discourse.org/t/no-more-custom-hyperlinks-in-canned-text/185196 "2021-04-02T00:30:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2021 年 4 月 2 日午前 12:30 UTC](https://meta.discourse.org/t/no-more-custom-hyperlinks-in-canned-text/185196/1 "2021-04-02T00:30:52Z")

</div>

本日のテンプレートテキストの1つを使用しましたが、そこに含まれていたカスタムハイパーリンクが通常のテキストに変更されていることに気づきました。リンクを元に戻そうとしましたが、リンクを挿入することはできても、長いURLの代わりに表示される短いテキストを持つカスタムリンクを挿入することができなくなっているようです。カスタムテキスト編集ウィンドウにリンクツール ![image](https://global.discourse-cdn.com/meta/original/3X/f/7/f7b28ef104dff4a119441d02c5ee09ca12e22049.png) がありません。

何か変更があったのでしょうか？

編集：[URL](https://www.url.com) 形式を直接貼り付けることができるかもしれないと思い至りました。試してみます。以前からリンクツールがあったかどうかは覚えていません。

それでも、リンクが通常のテキストに変更された理由については説明がつきません。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2021 年 4 月 2 日午前 2:34 UTC](https://meta.discourse.org/t/no-more-custom-hyperlinks-in-canned-text/185196/2 "2021-04-02T02:34:17Z")

</div>

ボタンがモーダル内のモーダルとして機能することで問題を引き起こしていたため、削除したようです。

> [@Can't insert hyperlinks into canned replies](https://meta.discourse.org/t/cant-insert-hyperlinks-into-canned-replies/169508):
>
> Hello, I am trying to create a canned reply. I wanted to insert a hyperlink however it cannot be inserted as the ‘OK’ button doesn’t work. [image] Steps to repo: make or open an existing canned reply. Try to insert a link Press ‘OK’

その機能があると確かに便利だと思いますが、リンクを挿入する別の方法を検討する必要があります。

現時点ではおっしゃる通り、Markdown形式またはHTMLを使用できます：

Markdown:

```markdown
[Example website](https://example.com)

```

HTML:

```xml
<a href="https://example.com">Example website</a>

```

> [@Loki](#):
>
> それでもリンクがプレーンテキストに変更された理由が説明されていません。

なぜそのようなことが起こったのか、私にもわかりません。私の知る限り、私たちが行ったのはボタンの削除だけです。

---

<div class="post-metadata">

### Author: ![Loki](https://avatars.discourse-cdn.com/v4/letter/l/3be4f8/32.png) [@Loki](https://meta.discourse.org/u/Loki)
#### Post date: [2021 年 4 月 2 日午前 10:15 UTC](https://meta.discourse.org/t/no-more-custom-hyperlinks-in-canned-text/185196/3 "2021-04-02T10:15:21Z")

</div>

ありがとうございます。これはマークダウンを使って修正しました。

以前のリンクがどこへ消えたのかは、ただの謎としておくしかないでしょうね。:slight_smile:
