[rt-users] can't paste images in line
Emmanuel Lacour
elacour at easter-eggs.com
Fri Jun 3 09:43:10 EDT 2016
Le 03/06/2016 à 15:25, Andrea Caputto a écrit :
> Hello Emmanuel thanks for your comment, it is right if i put :
>
> Set($RT::Extension::PermissiveHTML, '1');
>
Install the extension and follow the configuration doc. Here I had:
Plugin('RT::Extension::PermissiveHTMLMail');
Set($MaxInlineBody, 1000000);
Set($ShowTransactionImages, 1); # (default)
and the file:
$ cat rt/local/lib/RT/Interface/Web_Local.pm
package HTML::Mason::Commands;
# Show inline data images (mostly for Ctrl+v in richtext editor)
$SCRUBBER_RULES{'img'}->{'src'} .= "|".qr/^data:/i if
RT->Config->Get('ShowTransactionImages');
1;
thought I prefer now the patch I submited in the ticket.
More information about the rt-users
mailing list