rubyprince
rubyprince

Reputation: 17793

Content Editable div problems with editing

I have problems with editing content editable div (it is styled to look like a text area). I am right now showing this html inside the div.

<p>
     Hey [Recipient Name],
</p>
<p>
    I'm using <b>Planning Simple&trade;</b> to organize <b>Ranni Hill Mud Race</b>. Click on the RSVP button below to check out the details and get involved.
</p>

<p>
    Hope to see you there! <br>prince
</p>

You can see the page here http://96.126.109.96:850/test_invitation. Here the invitation content is displayed in a content editable div. If I try to replace a whole paragraph, the whole content is distorted.

Is there a way to fix this? Or is there a customizable WYSIWYG editor which can edit HTML and can be applied this kind of style?

Upvotes: 0

Views: 879

Answers (1)

AlfonsoML
AlfonsoML

Reputation: 12690

If you remove the float:left from the

.inner-cont-blk p

rule it works much better.

Upvotes: 1

Related Questions