Ignore:
Timestamp:
06/16/12 01:47:07 (7 years ago)
Author:
gogo
Message:

A few belated patches to Xinha...

Use session_write_close in php-xinha to close the session quicker in order to reduce lock waits
Set the default borders for insert table to no-border
Allow to choose no border style when inserting tables
Skip the "complete" attribute of images when domwalking (think this was firefox or something)
A handful of fixes to the (old) MootoolsFileManager?
Small fix to Stylist
Add .htaccess to ExtendedFileManager? demo_images
Small fix to PasteText?

Trac is down for me right now so no ticket number, will add a ticket to reference this changeset asap.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/PasteText/PasteText.js

    r1067 r1313  
    122122        { 
    123123                html = html.replace(/\t/g,"    "); 
    124                 html = html.replace(/\n/g,"</p><p>"); 
     124                html = html.replace(/\n+/g,"</p><p>"); 
    125125                html="<p>" + html + "</p>"; 
    126126                if (Xinha.is_ie) 
     
    130130                else 
    131131                { 
    132                         this.editor.execCommand("inserthtml",false,html); 
     132      this.editor.insertHTML(html); 
     133                        // this.editor.execCommand("inserthtml",false,html); 
    133134                } 
    134135        } 
Note: See TracChangeset for help on using the changeset viewer.