Changes between Version 8 and Version 9 of AddWYSIWYGEditor


Ignore:
Timestamp:
Mar 19, 2007, 12:50:17 AM (18 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddWYSIWYGEditor

    v8 v9  
    104104 * 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.
    105105 * 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.
    106 
     106 * Alternatively you can change the default textarea size by using:
     107{{{
     108tinyMCE.init({
     109        ...
     110        width : "800",
     111        height : "500",
     112}}}
    107113'''This does not work as expected with 0.95: only the first textarea is taken into account, others are rendered as normal textarea.'''
    108114
Back to Top