Created attachment 191282 [details] How it looks after inserting the content control When a Rich text content control is inserted in Writer and the user starts to type instantly (as the placeholder suggests), the placeholder text is replaced by the first letter, but the cursor is moved outside of the content control. 1. Go to Form - Content Controls - Rich text 2. Start typing some letters -> the first letter replaces the placeholder text, the subsequent ones are outside of the content control. Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: 43967453e15e1d054972a7586cfef8f8e0866270 CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: threaded Started in 7.4, with: https://git.libreoffice.org/core/+/1e9416fac497a58be04011cfa0ffce9c74a9e397 author Miklos Vajna <vmiklos@collabora.com> Wed May 11 09:29:05 2022 +0200 committer Miklos Vajna <vmiklos@collabora.com> Wed May 11 12:22:48 2022 +0200 sw content controls: introduce a word breaking dummy char at the end Before it was not perfect (but much better): typed characters continued to be inserted into the content control, but pressing right arrow moved the cursor behind the first character after the control, and not between the end and the first character. Now the cursor can be moved back to the content control, but only before the last character inside. For comparison Word does it
Created attachment 191283 [details] The content control after typing two characters: one inside, the other outside
Reserving.
Reproducible with: Version: 24.8.2.1 (X86_64) / LibreOffice Community Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13 CPU threads: 4; OS: Windows 10 X86_64 (10.0 build 17763); UI render: Skia/Raster; VCL: win Locale: es-AR (es_AR); UI: es-ES Calc: threaded