Login  Register

Foala editor implementation questions

Posted by Coleen_Astalos on Nov 05, 2014; 4:32am
URL: https://support.nabble.com/Foala-editor-implementation-questions-tp7592373.html

Pedro,
We set the "Message is HTML" as default with the new editor.  That makes sense for new posts.  But for editing posts, it makes posts that were imported from email squish all the text together because they are not in HTML.

I see the code for the setting the html_format in froola_main which is used by both the new_post and edit_post macros.  Is it possible to pull that piece out into the new_post and edit_post macros so that in the new_post macro it can be set to true, but in the edit_post macro it can be set to false for imported emails, otherwise it's set to true?

Coleen