Expandir la barra de logros de la comunidad.

Use of paragraph tag when pasting text into email fragments

Avatar

Level 4

5/9/25

We have discovered a strange ting that happens when we are pasting text into a fragment. If we are cleaning up the text in Notepad, and uses the text in a fragment we are running into some issues. It seems like if the text from Notepad has several paragraphs something strange happens. The first paragraph is recanalized as a paragraph and is placed inside a P-tag <p>.  But the other paragraphs that is pasted in is for some reason placed into div-tags <div> This causes problems with the design of the content. 

Explained in code this would look something like this:

Notepad text:

Here is our paragraph text one

Here is our paragraph text two

Here is our paragraph text tree

In our fragment in AJO the code for this would look like this: 

<p>Here is our paragraph text one</p>
<div></div>
<div>Here is our paragraph text two</div>
<div></div>
<div>Here is our paragraph text tree</div>

As you can see the tree paragraphs are acting in different ways, one as a pragraph tag, the two others as div-tags. And it seems like there is used a div-tag to create line space between the paragraphs -where Notepad has space.

This causes some problems with styling if you are using customized style classes since a p-tag and a div-tag isent the same thing - and in most cased has different classes. It would be great if pasting of plain text with several paragraphs could have the same tag conected to each of the parapraphs - like <P> is been used for all. 



5 Comentarios

Avatar

Employee Advisor

5/9/25

@Selliers can you submit this request as feature request via support portal, I will take it to our product team once support has the request. 

Avatar

Level 4

29/10/25

We have concluded that there is several things connected to this experienced problem. One of them is that the pastes content creates different code regarding witch browser you are using. Meaning that the issue could come from HTML technology itself, and not from AJO as a product. It also seems like it could have something to say where we place the parameter editable and noneditable in the customized code - where we try to control what can be edit and what can not. 

It it not that obvious that this is a bug, but more related to HTML it self. But there still is a fact that we are facing issues in AJO regarding this topic, pasting several paragraphs of text at the same time, inside an customized div tag. We have closed the support ticket on this while we are investigating some new possible workarounds to avoid the experienced problem. 

Avatar

Administrator

29/10/25

Thanks @Selliers for sharing the detailed update and for investigating potential workarounds.

Since this issue does not appear to be a product bug on the AJO side and the related support ticket has already been closed, I’m closing this feature request.

We appreciate your efforts in identifying the root cause and continuing to explore workarounds. If you discover a solution that could benefit other members, please feel free to share it in this community thread.

Thanks again for your collaboration!

El estado se ha cambiado a: Declined