Forum

Thread tagged as: Question, Configuration

Paragraph tags in Markitup

Hi,

We are using the markitup editor and textile formatting for textareas and we're finding that hitting enter is creating a <br /> rather than a new paragraph <p>. The <p> tags wrap the whole block of text.

Is there anyway to change this behaviour??

Thanks,

Alex

Alex Tebbutt

Alex Tebbutt 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show us your template?

Hi Drew,

Here you go

<perch:content id="description" type="textarea" label="Description" editor="markitup" textile="true" size="s" />

Thanks,

Alex

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you leaving a blank line between paragraphs?

Ah, thanks Drew.

We'd been using tinyMCE in the past and that just requires the user to press enter once to create a new paragraph.