convert p to div

Idea

 

paragraph tags (<p>) are "not supposed to" contain block elements.  But tinymce defaults to paragraph tags, and many views include block elements.  So this rule gets broken in Wagn.

 

When it does, we often encounter problems with premature paragraph closures, which can lead to odd things like content outside of open / closed views, especially with formatted cards.

 

As a workaround, it usually works to convert all the p tags to div tags.

 

This ticket is currently named to suggest that we automate that change.  The old idea was that we would make the conversion upon save.

 

I now think that *content cards probably need their own editor, because tinymce is designed for paragraphs.

 

In any case, we would probably want to migrate all the *content cards.

 

 

 

 

 

I'm not seeing great support for this in tinymce.


starting to think the answer here is to make this happen in templates by creating a template editor that is gui but more layout oriented.

  --Ethan McCutchen.....Sat Apr 21 20:39:04 +0000 2012


I'm changing this to an Idea because we don't really have an implementation route yet.

  --Ethan McCutchen.....2013-01-15 23:21:16 +0000

+relevant user stories