-
-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description:
I am trying to create a Personal dictionary shortcut that includes newlines (e.g., a multi-line email signature). While the dictionary allows me to paste text with newlines and saves it correctly, using the shortcut results in unexpected characters instead of line breaks.
Steps to Reproduce:
- Type a multi-line text somewhere (e.g., in a notes app):
Best regards,
Thomas
- Select and copy the multi-line text.
- Open HeliBoard Settings -> Text correction -> Personal dictionary -> [Language] -> Add a word.
- Paste the copied text into the "Type a word" field.
- Enter a Shortcut (e.g.,
br) and save it. - Note that the entry is displayed correctly (including the newlines) in the Personal dictionary list.
- Open any text field and type the shortcut (br) to trigger the replacement.
Expected Behavior:
The shortcut should expand to the original text, preserving the newlines:
Actual Behavior:
The shortcut expands, but the newlines are replaced with unknown/replacement characters (``). The output looks like this:
Best regards,��Thomas
Additional Context:
- This exact procedure (copy-pasting multi-line text into the personal dictionary) works correctly and preserves newlines when using Gboard.
- The newlines appear to be saved correctly in HeliBoard's settings UI, so the issue seems to occur during the actual text expansion/insertion into the active text field.
- While showing up correctly in the Personal dictionary list, only the first line is shown in the "Edit word" dialogue "Type a word" field. Blind editing works, though. It would also be nice to expand the "Type a word" field in such cases.
App version
3.8 (from Fdroid)
Device:
- Model: Samsung Galaxy S24
- OS: Android version 16, One UI version 8.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working