-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add a line break in a string field #1145
Comments
@JesusMartinAlonso Is your intent to just be able to see the line breaks in Realm Studio? Or do you need to be able to detect and display a line break using the I've stored Markdown in a |
Thanks for your reply What I need is to paste a text in a string field in Realm Studio preserving line breaks of the original text. I've tested again for Realm Studio Mac OS 3.6.1. and unfortunately is not working. You can test yourself: 1.- Create a multiline text in your favorite editor text. For example:
2.- Copy/Paste to a string field of your realm database opened in Realm Studio 3.-Line breaks are removed. If you copy the text from realm to the editor you can see that the whole text is displayed in one line. |
From a quick Googling, it looks to me as a single-row |
Seems there is a related issue: #1162 |
Workaround for me has been to do this using Realm Browser which can handle the line breaks, but I would prefer to be able to do this in Studio also. |
Hi @Shefto! Thanks for your contribution! I will give it a try. |
We love contributions if anyone would like to ;-) |
Is your feature request related to a problem? Please describe.
I want to add strings with line breaks. I have tried to copy the text (with line breaks) from a text editor but it doesn't work. Also I tried to add a "\n" but neither works.
Describe the solution you'd like
A way to enter line breaks in strings fields
Describe alternatives you've considered
Maybe a combination of alt + enter keys
Additional context
Realm Studio Mac OS 3.5.0
The text was updated successfully, but these errors were encountered: