JC-1611 JC-1623 Fixes in editor for IE: now bb-codes applies to the selection correctly; [img],[url],[color] insert in the correct place.