The richtext editing gets loaded for admin users to allow live-editing of the content on the website, but by default it only targets specific textareas used for editing content. Here's the JS for TinyMCE (the richtext editor) that defines the specific CSS selector it uses when applying richtext editing to textareas:
https://github.com/stephenmcd/mezzanine/blob/4aeb8b2da7eb4d777fc4f50ce6e7c1226e23b540/mezzanine/core/static/mezzanine/js/tinymce_setup.js#L66 And here you can see the "RichTextWidget" form widget class that defines that CSS class used in the above: https://github.com/stephenmcd/mezzanine/blob/4aeb8b2da7eb4d777fc4f50ce6e7c1226e23b540/mezzanine/core/forms.py#L51 At a guess, it looks like you've changed something which has broken that, and the richtext for live editing is being applied to the contact form field. You'll need to work out what you did though. Good luck! On Mon, Mar 21, 2016 at 11:05 AM, Melvin Ramos <[email protected]> wrote: > My contact form, a Form page. > > El domingo, 20 de marzo de 2016, 19:32:00 (UTC-4:30), Stephen McDonald > escribió: > >> >> >> On Fri, Mar 18, 2016 at 10:19 PM, Melvin Ramos <[email protected]> >> wrote: >> >>> This is how my form looks like: >>> >> >> What form is this? >> >> >>> >>> >>> <https://lh3.googleusercontent.com/-cy4lpsTHdDI/Vuvj--RC9cI/AAAAAAAADOk/2ehsbf2U5fI70RYyV4Y39rnWYUUu3Ow_w/s1600/message-box.jpg> >>> >>> >>> >>> And this is how I'm receiving the message: >>> >>> >>> <https://lh3.googleusercontent.com/-1HyNhUPDJR8/VuvkJJSi3ZI/AAAAAAAADOo/X6ROqQ6j5VYcCxOEFBtfGXjbv3yQGXv5Q/s1600/message-html-tags.jpg> >>> >>> >>> >>> >>> >>> El jueves, 17 de marzo de 2016, 23:08:24 (UTC-4:30), Stephen McDonald >>> escribió: >>>> >>>> >>>> >>>> On Fri, Mar 18, 2016 at 2:34 PM, Melvin Ramos <[email protected]> >>>> wrote: >>>> >>>>> My mezzanine project runs in a VPS. Mail doesn't work by its own so I >>>>> had to set it up with Postfix and Mailjet. >>>>> >>>>> It is my understanding that Postfix just allows to send the message >>>>> and Mailjet is the authenticated handler. This would mean that the render >>>>> of the mail occurs in Django. >>>>> >>>> >>>> I don't think any of that has anything to do with what you're asking. >>>> >>>> >>>>> >>>>> Why is the message box a RichText editor? Can I change this? Or fix it >>>>> so it shows the HTML in the mails? >>>>> >>>> >>>> What message box? >>>> >>>> >>>>> >>>>> Thanks in advance, >>>>> >>>>> MR >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "Mezzanine Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Stephen McDonald >>>> http://jupo.org >>>> >>> >> >> >> -- >> Stephen McDonald >> http://jupo.org >> > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > For more options, visit https://groups.google.com/d/optout. > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
