mirror of
https://github.com/NicolasConstant/sengi
synced 2025-02-02 19:46:59 +01:00
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();
|
||||
var dom = parser.parseFromString(value, 'text/html')
|
||||
this.isCollapsed = [...dom.body.textContent].length > 500;
|
||||
this.isCollapsed = [...dom.body.textContent].length > 600;
|
||||
|
||||
this.processedText = '';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user