Scrollbar inside the CKEditor viewer widget

Hello, I am using CKEditor viewer widget to display some text on the screen. Since the text is long, I want to to have a scroll option inside the CKEditor viewer. Is there a way to achieve this? Currently, I can set ‘cut of rules’ that will not expand the box but cut the text. Is there a way to have a scroll option? Thanks
1 answers

You could add a class to the ckeditor ‘ckescroll’ (in the Appearance tab) and in your theme files add something like this (change the 200px limit to whatever you need):

.ckescroll {
  max-height: 200px;
  overflow: auto;

You can also add the two lines between curly braces to the Style input in the same Appearance tab, but that’s against best practices and frowned upon.