If that is the exact code you're using try removing the { and } from within
setUpFindReplace()
~Angela
--
Angela C. Buraglia, Founder:
~FAQs, Tutorials & Resources~ http://www.DreamweaverFAQ.com
~My Extensions~ http://www.dwfaq.com/go.asp?ID=AngelaX10
DWfaq Support Newsgroup: news://support.dwfaq.com/support
Co-Author with Joseph Lowery, Dreamweaver MX 2004 Killer Tips:
http://www.dwkillertips.com
Extension Developer for Cartweaver 2:
http://www.cartweaver.com/features/extensionsuite/
Remove the CAPS in my E-mail to reply off list.
"whyulil" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
i have set up a command most of which works perfectly. i added a
setUpFindReplace which looks like this: dw.setUpFindReplace({searchString:
'&nbsp;', replaceString: ' ', searchSource: true}); dw.replaceAll();
and
this will now strip out all the non breaking spaces then crashes
dreamweaver.
Have i done something wrong? Im using dw2004 on windows xp |