combined common editor functionality