mirror of
https://github.com/gchq/CyberChef
synced 2025-12-19 09:43:44 +00:00
Output now uses CodeMirror editor
This commit is contained in:
@@ -424,7 +424,7 @@ class Utils {
|
||||
const utf8Str = utf8.encode(str);
|
||||
|
||||
if (str.length !== utf8Str.length) {
|
||||
if (isWorkerEnvironment()) {
|
||||
if (isWorkerEnvironment() && self && typeof self.setOption === "function") {
|
||||
self.setOption("attemptHighlight", false);
|
||||
} else if (isWebEnvironment()) {
|
||||
window.app.options.attemptHighlight = false;
|
||||
|
||||
Reference in New Issue
Block a user