-
Notifications
You must be signed in to change notification settings - Fork 100
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
Text length for last paragraph #353
Comments
@shalanah could you please provide a little more context? What are the simple steps to reproduce the data you included in the bug description? |
Sure, no problem! Example 1:
Paragraph 1: "Lorem\r"Looking at the first Paragraph 2: "Ipsum"Here we have "text": {
"textKey": "Lorem\rIpsum",
"paragraphStyleRange": [
{
"from": 0, // good
"to": 6, // good
"paragraphStyle": '...'
},
{
"from": 6, // good
"to": 12, // one character too long
"paragraphStyle": '...'
}
]
} Example 2:
Paragraph 1: "Lorem"Looking at the "text": {
"textKey": "Lorem",
"paragraphStyleRange": [
{
"from": 0, // good
"to": 6, // one character too long
"paragraphStyle": '...'
}
]
} |
I was able to reproduce this, and I can't see how this would be considered correct. But I also can't make a strong case for trying to change it. Another way to look at it... If you don't factor cc: @timothynoel in case you feel that this could/should be addressed in photoshop proper. |
Looks like the last paragraph is one character longer than the string provided. Just wondering if this is a bug, or intentional. Are we just missing the last character of the paragraph?
The text was updated successfully, but these errors were encountered: