Changes between Version 5 and Version 6 of AddWYSIWYGEditor


Ignore:
Timestamp:
Sep 17, 2006, 5:08:27 AM (18 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddWYSIWYGEditor

    v5 v6  
    7979 * Go to HTML mode to see generated code. You can change it here to make it perfect.
    8080 * If you find problems while using certain tags in the editor (like all newlines between <pre> tags being substituted by </pre><pre>), just add to the file textareas.js the line  '''remove_linebreaks : false,''' This problem arises because the option [http://tinymce.moxiecode.com/tinymce/docs/option_remove_linebreaks.html remove_linebreaks] is enabled by default.
     81 * If you want to enlarge the default textarea provided by django (and you don't want to wait for this [http://code.djangoproject.com/ticket/2596]) add an onpageload callback to your init call ([http://tinymce.moxiecode.com/tinymce/docs/option_onpageload.html]). Called after pageload but before tinymce initialisation so you can change textarea sizes in the callback.
    8182
    8283'''This does not work as expected with 0.95: only the first textarea is taken into account, others are rendered as normal textarea.'''
Back to Top