Replace <br>s inserted by editing.
This commit is contained in:
parent
115a213b34
commit
e5e25c9a77
@ -61,6 +61,7 @@ Banner =
|
||||
return @blur() if !e.shiftKey and e.keyCode is 13
|
||||
|
||||
blur: ->
|
||||
$.replace br, $.tn('\n') for br in $$ 'br', @
|
||||
if @textContent
|
||||
@contentEditable = false
|
||||
Banner.db.set
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user