Treetable p tag vertical align problem

How can I fix row height and vertical alignment in treetable, and believe datatable, problem with HTML p tags introduced by external editors.
Samples in line2 and 2.1 of snippet.
https://snippet.webix.com/9ngpm35c

Best regards

Apologies for the delay,

How can I fix row height and vertical alignment in treetable, and believe datatable, problem with HTML p tags introduced by external editors.

As a possible solution, you can change the display type of the <p\> tags (via CSS) to inline-block (or inline) - this change will allow for the correct calculation of the row height. If you wish to introduce a line break, you can use the <br\> tag alongside this method. Vertical alignment can also be done with the help of some additional CSS rules (e.g. margin: 0 auto).

Please take a look at the following example: Code Snippet.