Documentation

Valign

Type: Object

Default: object

Valign is used to set the vertical position of columns in the grid.

By default, the setting has the object:

{
    none: 'none',
    top: 'valign-top',
    middle: 'valign-middle',
    bottom: 'valign-bottom'
}

In CSS of the editor valign classes are written as follows:

.valign-middle {
    align-items: center;
}

You can change the valign class names to those used in the content on your site, for example:

.my-class-middle {
    align-items: center;
}

Now set new classes to the setting:

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    valign: {
        top: 'my-class-top',
        middle: 'my-class-middle',
        bottom: 'my-class-bottom'
    }
}); 

You can completely disable valign, just set false.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    valign: false
});