From 8d6071cb8456cff51b30c44486fbdd24b7aa01c8 Mon Sep 17 00:00:00 2001
From: Dan Brown <ssddanbrown@googlemail.com>
Date: Tue, 2 Aug 2022 11:17:02 +0100
Subject: [PATCH] Updated cache busting for tinymce library import

Changes from a manual cache buster string to a app-version-based cache
buster, as per our other scripts and styles.

To address #3611
---
 resources/views/pages/parts/wysiwyg-editor.blade.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/views/pages/parts/wysiwyg-editor.blade.php b/resources/views/pages/parts/wysiwyg-editor.blade.php
index d8ca74939..b7cd1bdaa 100644
--- a/resources/views/pages/parts/wysiwyg-editor.blade.php
+++ b/resources/views/pages/parts/wysiwyg-editor.blade.php
@@ -1,5 +1,5 @@
 @push('head')
-    <script src="{{ url('/libs/tinymce/tinymce.min.js?ver=5.10.2') }}" nonce="{{ $cspNonce }}"></script>
+    <script src="{{ versioned_asset('libs/tinymce/tinymce.min.js') }}" nonce="{{ $cspNonce }}"></script>
 @endpush
 
 <div component="wysiwyg-editor"