Closed simonkern closed 11 years ago
Did you set the same cleanse module for Entry as well?
cleanse = MyCleanseModule()
Page.create_content_type(RichTextContent, cleanse=cleanse.cleanse,
regions=('main', 'firstteaser', 'landing'))
Entry.create_content_type(RichTextContent, cleanse=cleanse.cleanse, regions=('main',))
Thanks for your reply. Turned out I didn't use a cleanse module for the Page at all. Should I? In case it is strongly recommended: How can i ensure, that the cleanse module does not delete my SyntaxHighlighter Tags?
Thanks a lot!
Best, Simon
@SimonKern I use a cleaning module most of the time because users can copy-paste everything into the text area and it does not look too bad.
If you have users that are more capable or less lazy you can leave the cleaning away. It really is up to you!
Hey all,
I added a SyntaxHighlighter plugin to my tiny_mce. It's working fine on feincms pages, but it somehow strips the tags away in elephantblog entries. I installed the version 0.3 (i guess) which i was told to in another issue. Any ideas how to fix this?
In additon there seemed to be a little bug concerning language filtering in the models.py instead of language__starts_with language was used in the comparison. I already fixed this.
Thanks in advance! Best, Simon