Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix header for large text #123

Closed
dchuba opened this issue May 27, 2022 · 3 comments
Closed

Fix header for large text #123

dchuba opened this issue May 27, 2022 · 3 comments

Comments

@dchuba
Copy link

dchuba commented May 27, 2022

In MODX, the resource in the Content field, after updates tinymce, lost the scroll for large text.
The text has become better visible, but the header tinymce has become inconvenient to use. Header tinymce runs up.
I propose to fix it when scrolling by changing the styles.

В MODX у ресурса в поле Содержимое , после после обновлений tinymce, пропал скролл для большого текста.
Текст стало лучше видно, но шапкой tinymce стало не удобно пользоваться. Шапка tinymce убегает вверх.
Предлагаю фиксировать при скролле, добавив стили.

.tox:not(.tox-tinymce-inline) .tox-editor-header{position: sticky; top: 50px;}
.tox .tox-editor-container, .tox-tinymce{overflow: unset !important;}
@Jako
Copy link
Collaborator

Jako commented May 27, 2022

Maybe it is better to use max_height instead. Since 2.0.6 the autoresize plugin is activated by default.

@dchuba
Copy link
Author

dchuba commented May 27, 2022

Thank you. This is a good option. Looked.
I liked autoresize, only the header was missing.

@Jako
Copy link
Collaborator

Jako commented Aug 1, 2022

This is fixed with 2.0.8.

@Jako Jako closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants