You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the following situation: a text has mutliple lines. One line has styles, the preceding and the following line have no styles. If a new line is inserted somewhere before the line with styles, the styles get duplicated on the preceding line.
This is due to the function shiftLineStyles copying styles from line to line +1 but never overwriting or deleting the old style.
See http://jsfiddle.net/cygvj607/1/ (the fiddle shows two fixes, the error can be seen when clicking "fixed insertNewlineStyleObject")
The text was updated successfully, but these errors were encountered:
Given the following situation: a text has mutliple lines. One line has styles, the preceding and the following line have no styles. If a new line is inserted somewhere before the line with styles, the styles get duplicated on the preceding line.
This is due to the function shiftLineStyles copying styles from line to line +1 but never overwriting or deleting the old style.
See http://jsfiddle.net/cygvj607/1/ (the fiddle shows two fixes, the error can be seen when clicking "fixed insertNewlineStyleObject")
The text was updated successfully, but these errors were encountered: