fixed editor webkit bug