lib/ecrire/app/assets/javascripts/admin/editor/ext.coffee in ecrire-0.22.1 vs lib/ecrire/app/assets/javascripts/admin/editor/ext.coffee in ecrire-0.23.0
- old
+ new
@@ -21,9 +21,12 @@
@textContent
HTMLPreElement::toString = ->
@textContent
+HTMLElement::toString = ->
+ @textContent
+
HTMLHeadingElement::toString = HTMLParagraphElement::toString = ->
@textContent
HTMLElement::offset = (node, walker) ->
offset = 0