Expand my Community achievements bar.

Issue In RichTextEditor CQ5 component

Avatar

Level 2

I have a CQ5 component where the users can write some text with a richtext editor. It is also possible to paste Image script code into source editor available in RTE.

When I am pasting the source code as below 

(<div style=" background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==');  height:100;width:100;"></div>  ) into RTE

It's getting converted as shown 

<div style="background: url('data:image/png; base64,ivborw0kggoaaaansuheugaaaauaaaafcayaaacnbyblaaaaheleqvqi12p4//8/w38giaxdibke0dhxgljnbaao9txl0y4ohwaaaabjru5erkjggg==');  height: 100; width: 100;"> </div>

And not rendering the image.

 

Has anybody a Suggestion what can be the cause of this Problem?

Thanks and Regards,

Karthika.
 

0 Replies