Skip to content

Commit

Permalink
Corrige le mode compatibilité (#5988)
Browse files Browse the repository at this point in the history
* fix #5987 : corrige la disparition de la zone de texte

* utilisation d'un texte plus parlant

Co-authored-by: Situphen <Situphen@users.noreply.github.com>
  • Loading branch information
firm1 and Situphen committed Nov 8, 2020
1 parent 11bed3d commit b1b6020
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions assets/js/editor-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,8 @@
}
easyMDE.codemirror.refresh()
},
className: 'fas fa-broom',
title: 'Passe au mode compatibilité'
className: 'fas fa-remove-format',
title: 'Zone de texte sans mise en forme'
},
'|',
{
Expand Down Expand Up @@ -801,7 +801,7 @@ function mirroringEasyMDE(easyMDE, textarea) {
}, 12) // <-- after default trigger (I mean after browser trigger)
})

$(easyMDE.element.parentElement).children('.editor-statusbar').before($twin)
$(easyMDE.element.parentElement).find('.editor-statusbar').before($twin)

return $twin
}
Expand Down

0 comments on commit b1b6020

Please sign in to comment.