Product ideas | Community
Skip to main content

Ideas

Filter by idea status

10000+ Ideas

Selliers
SelliersLevel 4

Use of paragraph tag when pasting text into email fragmentsDeclined

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 oneHere is our paragraph text twoHere is our paragraph text treeIn 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.