Insert collapsible section in PTE should select "Click to expand" after inserting
The plain-text editor has an "Insert collapsible section" button: ![image](/uploads/3d0060d67d5a2658849edd6ef281b45c/image.png){width=291 height=374} ... which adds this to the document: ```html <details> <summary>Click to expand</summary> </details> ``` We should automatically select the `Click to expand` text after insertion so the user can just start typing. Note that we already have this feature implemented in the plugin we add to CodeMirror(?)/Monaco(?)/whatever it is; see `app/assets/javascripts/editor/constants.js`: ![Screen_Recording_2026-03-30_at_13.42.01](/uploads/d2f53eecf5cda0f3605481bfb031229a/Screen_Recording_2026-03-30_at_13.42.01.mov){width=642 height=600} That's a totally separate system to what we use for the plain-text editor; just noting we do already have support for this and it really should be consistent across editors.
issue