That seems the right approach to me. If I say 'no filtering' I mean don't mess with my html dammit :)
On Fri, 11 Sep 2015 at 05:47 Ryne Everett <ryneever...@gmail.com> wrote: > I wonder if allowing everything in tinymce shouldn't be the default since > we're already cleaning html in python. > > On Thu, Sep 10, 2015 at 2:45 PM, Ryne Everett <ryneever...@gmail.com> > wrote: > >> Ah, that's probably it: >> http://www.tinymce.com/wiki.php/Configuration:extended_valid_elements >> >> On Thu, Sep 10, 2015 at 2:34 PM, Paul Whipp <paul.wh...@gmail.com> wrote: >> >>> Googling deeper got me to this - >>> http://www.phoca.cz/documents/16-joomla/769-joomla-3-tinymce-stop-removing-empty-tags >>> - from which I infer that it is possible to suppress the behaviour in >>> tinymce and I guess there is something I could do by shadowing the >>> tinymce_setup.js with one that hacks the div rule to allow empty divs >>> (although in mezz terms I think this should be linked to the 'no filter' >>> setting somehow - perhaps with more sophisticated control over tinyMCE like >>> that offered in Joomla (above). >>> >>> This could probably also address its adding '<p>' tags around >>> <script></script> entries too (these entries are for the pasted in google >>> charts). >>> >>> >>> On Fri, 11 Sep 2015 at 04:52 Ryne Everett <ryneever...@gmail.com> wrote: >>> >>>> Oh gotcha, definitely a tinymce bug. >>>> >>>> On Thu, Sep 10, 2015 at 1:52 PM, Eduardo Rivas <jerivasmel...@gmail.com >>>> > wrote: >>>> >>>>> Have you peeked into the TinyMCE docs? I'm sure there must be >>>>> something you can do to change this behavior in tinymce_setup.js. >>>> >>>> >>>>> >>>>> -- >>>>> >>>> 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 mezzanine-users+unsubscr...@googlegroups.com. >>>>> >>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "Mezzanine Users" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/mezzanine-users/j4Mhu42hHlw/unsubscribe >>>> . >>>> To unsubscribe from this group and all its topics, send an email to >>>> mezzanine-users+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> 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 mezzanine-users+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Mezzanine Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mezzanine-users/j4Mhu42hHlw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > mezzanine-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.