diff --git a/src/text/TextItem.js b/src/text/TextItem.js index 6ebc6d19..0f6bc1d8 100644 --- a/src/text/TextItem.js +++ b/src/text/TextItem.js @@ -26,6 +26,12 @@ var TextItem = this.TextItem = Item.extend({ this.setParagraphStyle(); }, + _clone: function(copy) { + copy.setCharacterStyle(this._characterStyle); + copy.setParagraphStyle(this._paragraphStyle); + return this.base(copy); + }, + getCharacterStyle: function() { return this._characterStyle; },