added newsletter

This commit is contained in:
Joeri de Bruin 2026-04-21 11:25:55 +02:00
parent 5fc1c6bdae
commit 63cb6c3723
8 changed files with 729 additions and 1101 deletions

View file

@ -19,7 +19,7 @@ use WebGUI::Asset;
use WebGUI::Form;
use WebGUI::Utility;
use WebGUI::International;
use JSON;
use JSON -convert_blessed_universally;
our @ISA = qw(WebGUI::Asset);
@ -664,9 +664,10 @@ EOHTML1
if ( $ask ) {
$config->{mode} = "none";
}
$self->session->log->debug("config: $config->{mode} ");
$out .= $self->getLoadPlugins;
$out .= "\ttinyMCE.init(" . JSON->new->pretty->encode( $config ) . " );\n";
$out .= "\ttinyMCE.init(" . JSON->new->allow_blessed->pretty->encode( $config ) . " );\n";
$out .= "</script>";
}