Use of paragraph tag when pasting text into email fragments | Community
Skip to main content
Selliers
Level 4
September 5, 2025
Declined

Use of paragraph tag when pasting text into email fragments

  • September 5, 2025
  • 5 replies
  • 350 views

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 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
September 5, 2025

@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. 

Selliers
SelliersAuthor
Level 4
September 12, 2025

The issue has now been registered in the support portal and it has got this ticket number: E-001830942 

Sukrity_Wadhwa
Community Manager
Community Manager
October 29, 2025
No text available
Sukrity Wadhwa
Selliers
SelliersAuthor
Level 4
October 29, 2025

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. 

Sukrity_Wadhwa
Community Manager
Community Manager
October 29, 2025

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!

Sukrity Wadhwa