---
title: Configure the default editor wrapper
slug: cms-13/docs/configure-the-default-editor-wrapper
docTags: 
createdAt: 2026-07-30T20:22:11.358Z
---

The default floating editor displays beside its property and takes only the space it needs. Switch to a different wrapper type when properties need more editing space or a consistent side-panel layout.

Configure the default editor wrapper at initialization time, before CMS displays the UI. Use `InitializableModule` to set the `DefaultEditorWrapper` property on the `CmsUIDefaults` singleton, as in the following example:

```csharp
using EPiServer.Cms.Shell;
using EPiServer.Framework;
using EPiServer.Framework.Initialization;
using EPiServer.Shell;

namespace MyProject.Business.Initialization
{
    [InitializableModule]
    [ModuleDependency(typeof(EPiServer.Web.InitializationModule))]
    public class UIDefaultsInitialization : IInitializableModule
    {
        public void Initialize(InitializationEngine context)
        {
            // The supported default editor wrapper types are flyout and floating.
            context.Services.GetRequiredService<CmsUIDefaults>().DefaultEditorWrapper = UiWrapperType.Flyout;
        }
        public void Uninitialize(InitializationEngine context) {}
    }
}
```
