[CKEditor] Not able to put Email Signature in CK Editor
Question
Forge component by Matthias Preuter

Hi All,

I am using a CKEditor on a email component to type the content of the email body and I want to display the email signature in the editor when the editor opens up on a button click for the user to type the content. I have lined an input box with the editor for typing. Currently the signature (which is retrieved from a server action) is showing outside the editor. How can we bring it inside at the lower part of the email body?


 

mvp_badge
MVP

Hi Suprio,

You would need to add the signature text to the variable (using an assign widget)  that is assigned to the input widget used on the CKFlow\CKEditor webblock.

Regards,

Daniel

Hi Daniel,

I already tried that inside an action (assigning the value to the variable), yet it's not reflecting on the email body.

mvp_badge
MVP

You will have to do an AjaxRefresh of the content you changed, if the assignment is not done in the Preperation.

Hi Daniel,

Thank you for your suggestion. The signature is now appearing but the image in signature is not loading.

Is there anything else need to do to get the image in CKEditor ?

mvp_badge
MVP

Hi,

Is your syntax like this:

<a href="<yoururltotheimage"></a>

You could try

<a href="https://www.jalinkverhuur.nl/images/businessman%20(4).png"></a>

It should show an image

Daniël Kuhlmann wrote:

Hi,

Is your syntax like this:

<a href="<yoururltotheimage"></a>

You could try

<a href="https://www.jalinkverhuur.nl/images/businessman%20(4).png"></a>

It should show an image

 Hello Daniel


I have the same problem.


is there any known solution to this problem?


 


tks
João Vilelas

Hi,

It looks like the outlook is blocking the URL to get the image, in this case you can try to use base64 in IMG tag like below

<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==' alt='Red dot' />

or add the from email address to safe sender list (google out how to make sure the image url is not blocked by email client)

Regards.

Prasad Rao wrote:

Hi,

It looks like the outlook is blocking the URL to get the image, in this case you can try to use base64 in IMG tag like below

<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==' alt='Red dot' />

or add the from email address to safe sender list (google out how to make sure the image url is not blocked by email client)

Regards.

 its works :) tks

I have one more question, I'm sending this image with this style to the email


<img alt="""" src=""data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABL4AAAIJCAYAAACr/fT7AAAAAXNSR0I....."" style=""height:86px; width:200px"" />

but the email when it is rendered ignores the style and renders the image with the actual dimensions

 

Hi, 

I have the same problem.

<img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==' alt='Red dot' />

where is this placed?

Regards. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.