Jump to content

problems with javascript editor


blueman378

Recommended Posts

hi guys well im trying to use a javascript editor similar to the one on the forum, its working PERFECT in firefox however in internet explorer lets say you start out with:

 

lol

 

you then without selecting anything press a button eg bold you get (ignore the random brackets btw its a replacement for [])

lol{b}lol{\b}lol

 

you get the exact same result if you select it and press a button as well,

 

in firefox however if you simply press the button you will get

lol{b}{\b}

 

or if you select it you will get

{b}lol{\b}

 

please help me guys,

 

you can download the editor (like 42kb) here http://www.webspirited.com/edit.zip

if you dont have php change index.php to index.html

i would post the js code but its too long

 

thanks alot guys

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.