From 85dc12eab95a300fa894b6005a564078196a2c69 Mon Sep 17 00:00:00 2001 From: Aurimas Mickys Date: Wed, 17 Nov 2021 23:03:00 +0200 Subject: [PATCH] Update editor.html --- src/editor.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor.html b/src/editor.html index 971b638..e84b00f 100644 --- a/src/editor.html +++ b/src/editor.html @@ -1525,7 +1525,7 @@ // Get the contents var h = document.getElementById(editorId).innerHTML; - return h.replaceAll('wvb', 'REPLACE');; + return h ? h.replace(/wvb/g, 'REPLACE') : ''; } zss_editor.getTitleHTML = function() {