OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.31k stars 2.36k forks source link

Trumbowyg autogrow can't be disabled #11984

Open Skrypt opened 2 years ago

Skrypt commented 2 years ago

Discussed in https://github.com/OrchardCMS/OrchardCore/discussions/11980

Originally posted by **kevinsmgov** July 9, 2022 When I change my HtmlBody editor from wysiwyg to trumbowyg, the default editor height (I believe it's 300px) and scrollbar goes away and the editor expands vertically to include all content (i.e. you can't get to the editor buttons without scrolling the page up). Is this configurable or is it something in the Orchard Stack that needs to be corrected?
Piedone commented 3 months ago

The bug is that Trumbowyg is set to autogrow, but even if you change this from the editor's settings in the part settings (see below), it'll still auto-grow.

{
    autogrow: false,
    autogrowOnEnter: false
}