Note body - clearing empty text lines #1240
rares-urdea
announced in
Q&A
Replies: 1 comment 2 replies
-
|
Hi @rares-urdea , Thanks for bringing this to our attention. Some clarifying questions:
I know the "type: text" data objects are there to support unstructured text, which we don't recommend but do allow. And it certainly seems like each I could see us adding the equivalent of a |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
We've noticed that in the Note body there are often empty text objects.
When we make changes to note in terms of adding or removing commands, I've noticed that an empty text object is left behind whenever a change is made to commands. (sort of like a placeholder)
Is it possible to clear out these objects so that the Note body is more concise and easy to read?
At the moment, if there are dozens of empty text objects and 2 commands scattered somewhere within the body, it makes the user experience a bit frustrating as you have to manually remove all the new lines in the body to get it to be easy to read.
In the database it will look like this:
with that being translated into the UI as:

whereas ideally we would want it to look like this:
with the UI interpreting it something along the lines of:

My ideal version of this would be to not allow more than X empty text objects at the beginning and end of a note body, as well as in between commands so that we don't need to add additional handling via SDK. But if that's not reasonable / doable, I'd be happy to write a plugin to deal with this just as well.
Beta Was this translation helpful? Give feedback.
All reactions