a simple editor design