Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Update editor.html
Browse files Browse the repository at this point in the history
  • Loading branch information
aurimasmi authored Nov 17, 2021
1 parent 10765f6 commit 85dc12e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 85dc12e

Please sign in to comment.