Support links and embeds in the chat

This commit is contained in:
Gabe Kangas
2020-06-02 15:37:36 -07:00
parent f6153c983f
commit 380dad2b87
3 changed files with 244 additions and 1 deletions

View File

@@ -11,6 +11,7 @@
<!-- Used for animating the scrolling of the chat div. Can that be done other ways? -->
<script src="vendor/jquery-2.1.4.min.js"></script>
<script src="vendor/autolink.js"></script>
</head>
<div>
@@ -45,7 +46,7 @@
<div class="text-sm">
<p class="text-700">{{ message.author }}</p>
<p class="text-gray-600">{{ message.body }}</p>
<p class="text-gray-600"v-html="message.linkedText()"></p>
</div>
</div>
</div>