Skip to content

Commit

Permalink
fix(TinyMCE): 🐛 prevent TinyMCE editor from expanding limitlessly
Browse files Browse the repository at this point in the history
Not sure what caused the editor to expand itself limitlessly, but forcing
a max-height seems to resolve it.

Closes: #978
  • Loading branch information
alistair3149 committed Dec 19, 2024
1 parent 09b80ce commit 21eccbb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Name | Grade | Version | Last updated
[TabberNeue](https://www.mediawiki.org/wiki/Extension:TabberNeue) | A | 2.6.0 | 2024-11-16
[TemplateData](https://www.mediawiki.org/wiki/Extension:TemplateData) | A | REL1_39 `7f8c5a8` | 2024-08-19
[TimedMediaHandler](https://www.mediawiki.org/wiki/Extension:TimedMediaHandler) | B | N/A | N/A
[TinyMCE](https://www.mediawiki.org/wiki/Extension:TinyMCE) | A | 1.1.2 | 2024-12-19
[Translate](https://www.mediawiki.org/wiki/Extension:Translate) | A | MLEB 2023.01 | 2023-02-17
[TwoColConflict](https://www.mediawiki.org/wiki/Extension:TwoColConflict) | B | REL1_39 5a2a947 | 2023-01-09
[UniversalLanguageSelector](https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector) | B | MLEB 2021.12 | 2022-05-17
Expand Down
1 change: 1 addition & 0 deletions skin.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@
"+ext.tabberNeue.init.styles": "skinStyles/extensions/TabberNeue/ext.tabberNeue.init.styles.less",
"+ext.templateData": "skinStyles/extensions/TemplateData/ext.templateData.less",
"+ext.templateDataGenerator.editTemplatePage": "skinStyles/extensions/TemplateData/ext.templateDataGenerator.editTemplatePage.less",
"+ext.tinymce": "skinStyles/extensions/TinyMCE/ext.tinymce.less",
"+ext.uploadWizard": "skinStyles/extensions/UploadWizard/ext.uploadWizard.less",
"+ext.uploadWizard.uploadCampaign.display": "skinStyles/extensions/UploadWizard/ext.uploadWizard.uploadCampaign.less",
"+ext.uploadWizard.page.styles": "skinStyles/extensions/UploadWizard/uploadWizard.noWizard.less",
Expand Down
14 changes: 14 additions & 0 deletions skinStyles/extensions/TinyMCE/ext.tinymce.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/*
* Citizen
*
* SkinStyles for Extension:TinyMCE
* Module: ext.tinymce
* Version: 1.1.2
*
* Date: 2024-12-19
*/

// Prevent TinyMCE from expanding itself limitlessly (#978)
.tox-tinymce {
max-height: 60vh;
}

0 comments on commit 21eccbb

Please sign in to comment.