Toggle editor editable

Hi, I am having some problems about toggle editor editable to no-editable or no-editable to editable,

  1. when I toggle editor editable to no-editable, it also can insert one char.
  2. when I toggle editor no-editable to editable, it can not select words during first focus time.
  1. When I disable the editor, I can still enter the character “b”。

  2. When I enable the editor, I can not select any character.

Thanks! Any help greatly appreciated!

view.editable seems to always be true in that demo, so there’s probably some other issues in this code.

I’m so sorry! The demo above :point_up_2: has been edited. There is a minimal reproducible demo here :point_down:.

Thanks! :pray: