plot/text: print new lines as <br/>
This commit is contained in:
parent
a432563195
commit
917459e805
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ module.exports = class Text extends _widgets_base {
|
|||
setValue(v) {
|
||||
|
||||
this.value = v==null ? this.defaultValue : v
|
||||
this.widget.html(iconify(this.value))
|
||||
this.widget.html(iconify(this.value.replace(/\n/g,'<br/>')))
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue