Making code block editable