fine tune collapsing limit
This commit is contained in:
parent
de0c7b1761
commit
8b202696b5
|
@ -32,7 +32,7 @@ export class DatabindedTextComponent implements OnInit {
|
||||||
|
|
||||||
let parser = new DOMParser();
|
let parser = new DOMParser();
|
||||||
var dom = parser.parseFromString(value, 'text/html')
|
var dom = parser.parseFromString(value, 'text/html')
|
||||||
this.isCollapsed = [...dom.body.textContent].length > 500;
|
this.isCollapsed = [...dom.body.textContent].length > 600;
|
||||||
|
|
||||||
this.processedText = '';
|
this.processedText = '';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue