fixed the size-independent inplace editor bugs, types of inplace element