Editor Minimum

2 posts, 0 answers
  1. Lee
    Lee avatar
    20 posts
    Member since:
    Jun 2014

    Posted 23 Oct Link to this post

    My editor seems to be ignoring the minimum on height.

    <div class="col-6">
    <label>Notes:</label>
    @(Html.Kendo().Editor()
    .Name("RMIComment")
    .HtmlAttributes(new { style = "height:80px" })
    .Resizable(resizable => resizable.Content(true).Min(80))
    .Tools(tools => tools.Clear())
    )
    </div>
    <br />

     

    It appears to always draw on the screen around 200px.  I want it smaller. 

    Thanks

    Lee

  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 24 Oct Link to this post

    Hi Lee,

    You can set the editor height under 200px with the CSS class below:

    <style>
        .k-editor iframe.k-content {
            height: 80px !important;
        }
    </style>



    Best regards,
    Rumen
    Telerik by Progress
    Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top