On 6/23/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> I think you should be doing both FCK and replacing. I doubt that it catches
> everything and honestly I'm getting tired of FCK. When I tested the paste
> from word function, it wrapped EACH LINE of a word doc in individual DIV
> tags.
>
It looks like the functions for cleaning up word are in the
/editor/dialog/fck_paste.html file that is in your FCKEditor
directory. Possibly just commenting out the lines:
var re = new RegExp("(<P)([^>]*>.*?)(<\/P>)","gi") ; // Different
because of a IE 5.0 error
html = html.replace( re, "<div$2</div>" ) ;
would make the output more to your liking.
--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244654
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54