fully functional editor

This commit is contained in:
EugeneTes
2026-02-04 14:59:16 +01:00
parent 8cd04155db
commit 1fcaaa040b
6 changed files with 151 additions and 13 deletions

View File

@@ -156,3 +156,8 @@ window.receiptLanguage = {
return '';
}
};
window.setPreviewContent = function(html) {
var iframe = document.getElementById('preview-iframe');
if (iframe) iframe.srcdoc = html;
};