mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-23 20:55:47 +00:00
Merge pull request #1773 from asturur/fix-itext-multilin
Fix for issue #1264 , export of removed/reinsertd newline on itext
This commit is contained in:
commit
9dac555205
1 changed files with 1 additions and 5 deletions
|
|
@ -582,11 +582,7 @@
|
|||
* @param {Array} [styles] Styles to insert
|
||||
*/
|
||||
insertStyleObjects: function(_chars, isEndOfLine, styles) {
|
||||
|
||||
// short-circuit
|
||||
if (this.isEmptyStyles()) {
|
||||
return;
|
||||
}
|
||||
// removed shortcircuit over isEmptyStyles
|
||||
|
||||
var cursorLocation = this.get2DCursorLocation(),
|
||||
lineIndex = cursorLocation.lineIndex,
|
||||
|
|
|
|||
Loading…
Reference in a new issue