Richtext and Suite 6.0

Hi, in the example at this link (https://www.dataitalia.com/test.html) i have merged suite 6.4.4 and teh richtext 1.1.2 for verify if this two library can work together. The result is the problem tha you can see to the link: The richtext area shift to bottom. What am I doing wrong? Is it possible use richtext and suite6 togheter or not?

tks in advance

Emilio

This is because of the CSS class dhx_layout-cell–gravity, which is not present in RichText, but is present in Suite. When you connected suite.css, this class applied.

The workaround for now:

<script>
    var richtext = new dhx.Richtext("richtext");
    document.querySelector('[aria-labelledby="tab-content-toolbar"]').classList.remove('dhx_layout-cell--gravity')
</script>

But it’s better to report about the problem to RichText developers.

Thanmk you for your report.
The problem is confirmed. We’ll try to fix it in the next richText update.