How to adjust RichtextBox Editor dimensions.

How to adjust RichtextBox Editor dimensions. The div below it rises above it.


3 Replies

VJ Vinitha Jeyakumar Syncfusion Team May 27, 2024 09:21 AM UTC

Hi Oguz Unlu,


If you are trying to render the RichTextEditor within a parent div with full dimensions, you can use height and width property as 100%. But, if your requirement is different from this, please share us with your exact requirements along with image or video illustration for our better understanding?

Regards,
Vinitha


OU Oguz Unlu May 28, 2024 09:36 AM UTC

Hi  Vinitha Jeyakumar,

As shown in the picture below, it carries it out of the Div. The toolbar is larger than normal.

Code he wrote.

    <div class="form-row">

        <div class="form-group col-md-12">

            @Html.LabelFor(m => m.SikayetFormuTek.Sonuc, htmlAttributes: new { @class = "control-label col-cm-1" })

            <div class="col-sm-12">

                @Html.EJS().RichTextEditorFor(m=>m.SikayetFormuTek.Sonuc).Render()        

            </div>        

            @Html.ValidationMessage("Sonuc", "", new { @class = "text-danger" })

        </div>

    </div>

Image_8404_1716888703133




VJ Vinitha Jeyakumar Syncfusion Team May 29, 2024 07:20 AM UTC

Hi Oguz Unlu,

We have tried to reproduce the reported issue using the code you have shared. but we didn't face any issues as you reported. We have also attached a sample for your reference.

We suspect that the reported issue may occurred due to the missing of styles and script reference. so make sure to refer the script and styles properly. 




Regards,
Vinitha

Loader.
Up arrow icon