Development of planar detectors with active edge