Permalink
Switch branches/tags
Commits on Jan 22, 2013
  1. Merge pull request #34 from exonian/master

    acdha committed Jan 22, 2013
    Correct typo in readme - thanks @exonian!
Commits on Apr 16, 2012
  1. Merge pull request #21 from iwanbk/master

    acdha committed Apr 16, 2012
    mistake on 'usage within django admin' example
Commits on Mar 30, 2012
Commits on Mar 14, 2012
  1. yui include template cleanup

    acdha committed Mar 14, 2012
  2. test_project: non-relative DB path

    acdha committed Mar 14, 2012
  3. test_project: fixed fun subproject

    acdha committed Mar 14, 2012
    * Corrected module setup & updated settings
    * Corrected admin change_form template
Commits on Sep 11, 2011
  1. Merge pull request #13 from kennethlove/master

    acdha committed Sep 11, 2011
    Use STATIC_URL instead of MEDIA_URL
Commits on Feb 23, 2010
Commits on Feb 15, 2010
  1. README update: fixed admin code snippet

    acdha committed Feb 15, 2010
    The instructions for enhancing the admin area incorrectly showed the
    wysiwyg_editor call being used in <head> when it really needs to be used
    after the textarea in question has been created. Now the admin examples
    follow the instructions.
Commits on Nov 18, 2009
  1. CKEditor 3 Support

    acdha committed Nov 18, 2009
    People who prefer CKEditor can use it by adding `DJANGO_WYSIWYG_FLAVOR = "ckeditor"` to settings.py after installing the CKEditor distribution to somewhere on the server. See README.rst for more information.
  2. Revert commit d4b58e3.

    acdha committed Nov 18, 2009
    The instructions to manually add the yui-skin-sam class to <body>
    weren't actually necessary - the init JS does it automatically.
Commits on Aug 26, 2009
  1. Position-independent editor creation

    acdha committed Aug 26, 2009
    The editor code now uses YUI's onAvailable event to ensure that it
    cannot run before the content element in question has been loaded.
    Previously this was guaranteed to work only in the common case where the
    {% wysiwyg_editor %} call was located below the HTML element in the
    template; otherwise it was browser and server dependent.
Commits on Aug 21, 2009
  1. Better html_clean/sanitize imports

    acdha committed Aug 21, 2009
    Now you can simply do something like this:
    
    >>> from django_wysiwyg import sanitize_html
    >>> sanitize_html('foobar<p style="color:red; remove:me; background-image: url(http://example.com/test.php?query_string=bad);">adf<script>alert("Uhoh!")</script><i></p>abc</i>')
    
    __init__.py has less code but it dynamically tries first the html5lib
    and pytidylib imports. In either case the non-overriden import will
    raise an ImportError when you call it so you aren't pressured to install
    either library if you don't plan to validate.
Commits on Aug 20, 2009
  1. HTML clean & sanitize options

    acdha committed Aug 20, 2009
    django_wysiwyg now provides HTML cleaning & *EXPERIMENTAL* sanitization functions using either html5lib or pytidylib.
  2. Added a simple test project

    acdha committed Aug 20, 2009
    Now testing changes is as easy as changing into test_project and running
    the development server.
  3. Automatic YUI skinning

    acdha committed Aug 20, 2009
    It's no longer necessary to add the yui-skin-sam class; wysiwyg_setup does this automatically.
  4. Initial Checkin

    acdha committed Aug 20, 2009
    Works with hosting off of Yahoo's CDN using a template tag.
    
    Examples provided for admin area integration and normal usage