Display vs Edit field sizes

Hello @eweiler,

You can use this code to adjust the height of the rich text input to the content.

fd.spRendered(function() {    
    //Replace RichText with the internal name of the field
    fd.field('RichText').ready().then(function(field) {
        var editor = $(field.$el).find('.k-editor');        
        function recalcHeight() {
        	var actualHeight = Math.round(editor.height());
        	var conetntHeight = field.widget.document.body.scrollHeight;
        	var newHeight = (conetntHeight > actualHeight) ? conetntHeight + 100 : actualHeight;
            editor.height(newHeight);
            }
        recalcHeight();
        setInterval(function(){ recalcHeight(); }, 1000);
       
    });
});