refactor inplace editor switch
Merge pull request #2347 from 0xF013/feature/refactor-inplace-editor-view

refactor inplace editor switch