Skip to content

Toolbar lost it's stickyness with upgrade to 4.1.2 #65

@loadi-dev

Description

@loadi-dev

After updating to ckeditor-vaadin version 4.1.2 we noticed, that the toolbar does not remain sticky when writing long texts. This causes the toolbar to scroll out of the viewport, which makes editing long texts a tedious task.

I compared the CSS with version 4.0.0 and noticed some missing CSS rules at the div with classes ck ck-editor__top ck-reset_all. In version 4.0.0 is has some inline CSS, which is gone in version 4.1.2.

As a work around I specified the CSS in our project for now:

.ck.ck-editor__top.ck-reset_all {
  position: sticky;
  top: 0;
  box-shadow: darkgrey 0px 1.5px 1px -1px;
  z-index: 2;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions