Skip to content

Enable full scroll in RichTextEditor source/edit mode #664

Open

Description

@nandkishore-tarak

When using the source/edit mode in the Rich Text Editor, the bottom content is not fully visible, and there is no vertical scroll. Users cannot see or edit content that exceeds the visible area.

Expected behavior:

  • The editor should allow scrolling when content overflows
  • Bottom content should be fully visible
  • Smooth scrolling inside the editor area

Affected file:
ckeditor-plugins/src/styles/RichTextEditor.css

Suggested CSS fix (optional):
Add below CSS for parent div height width
.ck-source-editing-area {
overflow: hidden;
position: absolute;
height: 100%;
width: 100%;
}

update the css
.label-content-editor--sized .content-root .ck.ck-editor__editable, .label-content-editor--sized .content-root .ck.ck-editor__editable.ck-content {
/* height: var(--editor-content-height, 300px) !important; /
/
min-height: var(--editor-content-height, 300px) !important; /
/
max-height: var(--editor-content-height, 300px) !important; /
/
box-sizing: border-box !important; /
/
overflow: hidden !important; /
/
padding: var(--editor-content-padding, 0) !important; */
}

Activity

  1. VladyslavLevoshko commented on Nov 17, 2026

    @VladyslavLevoshko

    Hi,

    I tried to reproduce the issue you described. First, I wasn't sure why this issue was reported in the React repository because, as I understand it, this repository is only a wrapper for integrating CKEditor 5 into React applications.

    Therefore, I decided to try reproducing the issue directly in CKEditor 5.

    Steps I followed to reproduce the issue:

    1. Run pnpm run manual.
    2. Open http://localhost:8125/packages/ckeditor5-source-editing/manual/sourceediting.manual.html.
    3. Insert a large code block (the contents of package.json repeated three times).
    4. Switch to Source Editing mode and back several times.

    Everything seems to work correctly on my end.

    If I understand the issue correctly, it seems that this problem is no longer reproducible with the current version.

    Could you confirm whether you're still experiencing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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