lib/ecrire/app/assets/javascripts/admin/editor/ext.coffee in ecrire-0.25.2 vs lib/ecrire/app/assets/javascripts/admin/editor/ext.coffee in ecrire-0.26.0

- old
+ new

@@ -22,10 +22,13 @@ HTMLPreElement::toString = -> @textContent HTMLElement::toString = -> - @textContent + if @nodeName == 'FIGURE' + @querySelector('figcaption').textContent + else + @textContent HTMLHeadingElement::toString = HTMLParagraphElement::toString = -> @textContent HTMLElement::offset = (node, walker) ->