Bug #99877
closedcodemirror editor in backend modals needs proper dimensions
0%
Description
Problem¶
The codemirror editor within a backend modal has no proper dimensions. An backend user has two scrollbars. one of modal-body and one of the code-mirror.
In such scenario – especially on OS where scrollbars are "hidden" – an user can not consume the whole editor content (e.g. TypoScript, TSconfig, ...).
How to test?¶
Test within e.g. TypoScript module
- Open TypoScript
- Switch to Active TypoScript submodule
- Click on any "Show Code" button which shows more code lines then the height of the modal (more than 1000px to get a good view on the problem)
Suggested solution¶
Size the codemirror editor to the height of the modal body like shown in the following screenshot
I'm not sure if this small CSS adjustment is the correct solution.
Files
Updated by Josef Glatz almost 2 years ago
- File clipboard-202302081046-ketrt.png clipboard-202302081046-ketrt.png added
- File clipboard-202302081047-qjb71.png clipboard-202302081047-qjb71.png added
- Description updated (diff)
- Status changed from New to Accepted
- Priority changed from Could have to Must have
Updated by Gerrit Code Review over 1 year ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78730
Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/78730
Updated by Jasmina Ließmann 8 months ago
- Related to Bug #101442: t3editor does not show content when appearing in viewport added
Updated by Jasmina Ließmann 8 months ago
This should have been solved with #101442. Can you please have a look?