This isn't the first time this issue has been encountered.
- PR: https://github.com/stephenmcd/mezzanine/pull/595 - Actually merged fix: https://github.com/stephenmcd/mezzanine/commit/0f6ab7cc9f87f03620b76ecbf860d2fb664fe8af - Modification: https://github.com/stephenmcd/mezzanine/pull/886 - Deletion: https://github.com/stephenmcd/mezzanine/commit/82339b05a5627c468713415e13c8f77665489eb2 On Thu, Sep 10, 2015 at 5:07 PM, Paul Whipp <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> >> 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 <[email protected]> >>> 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 <[email protected]> >>>> wrote: >>>> >>>>> Oh gotcha, definitely a tinymce bug. >>>>> >>>>> On Thu, Sep 10, 2015 at 1:52 PM, Eduardo Rivas < >>>>> [email protected]> 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 [email protected]. >>>>>> >>>>> >>>>>> 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 >>>>> [email protected]. >>>>> 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 [email protected]. >>>> 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 >> [email protected]. >> 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
