From 2074c1df5d7093fcc7e18c14419a0ccde0503482 Mon Sep 17 00:00:00 2001 From: Gregor Lasnibat Date: Wed, 31 Jan 2024 09:32:19 +0100 Subject: [PATCH] (fix) TinyMCE issues - Code samples & Wide tables [SCI-10076] --- app/assets/javascripts/my_modules/protocols.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/my_modules/protocols.js b/app/assets/javascripts/my_modules/protocols.js index de746d5b0..8365a41df 100644 --- a/app/assets/javascripts/my_modules/protocols.js +++ b/app/assets/javascripts/my_modules/protocols.js @@ -319,7 +319,7 @@ function init() { init(); const viewMode = new URLSearchParams(window.location.search).get('view_mode'); -if (['archived', 'locked'].includes(viewMode)) { +if (['archived', 'locked', 'active'].includes(viewMode)) { setTimeout(() => { const notesContainerEl = document.getElementById('notes-container'); window.wrapTables(notesContainerEl);