diff --git a/web/editor.css b/web/editor.css index 133d99a09..1e3d588d2 100644 --- a/web/editor.css +++ b/web/editor.css @@ -3,6 +3,7 @@ background: #fff; color: #000; padding: 5px; + overflow-wrap: break-word; } /* prevent floated images from being displayed outside field */ diff --git a/web/editor.js b/web/editor.js index 7755db6fd..9983ae5ef 100644 --- a/web/editor.js +++ b/web/editor.js @@ -276,7 +276,7 @@ function setFields(fields) { txt += "contentEditable=true class=field>{0}".format(f); txt += ""; } - $("#fields").html("