 			@item.linkUri = @getLinkUri()
 
 		# text changes
-		if 'text' of @item or (@item.$ isnt null and 'text' of @item.$)
+		if @getTextObject()
 			listenTextRec @
 
 		return;

			child.revert()

		# shared items
		if itemDocumentNode._documentStyle is @
			# revert linkUri
			if @isLinkUriSet
				@item.linkUri = @baseLinkUri


					# find index
					tmpIndexNode = node
					item = item._sourceItem or item
					while tmpIndexNode
						if tmpIndexNode._nextSibling?._documentStyle?.item?.parent is item
							@item.index = tmpIndexNode._nextSibling._documentStyle.item.index
							break
						tmpIndexNode = tmpIndexNode._parent

