mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-24 00:06:49 +00:00
Explicitly define module position
Style modules currently added through addModuleStyles default to being in the head ("top" position). This is an unhealthy default, since only critical styles that are needed at pageload should be in the head. In order to be able to switch the default to "bottom", existing module positions have to be defined explicitly. Bug: T97410 Change-Id: I8dbee3e4edf673341e7eb49f360e83e4dac54b17
This commit is contained in:
parent
9811129c07
commit
849cbf2173
|
@ -401,6 +401,7 @@
|
|||
]
|
||||
},
|
||||
"ext.wikiEditor.toolbar.styles": {
|
||||
"position": "top",
|
||||
"group": "ext.wikiEditor",
|
||||
"styles": "ext.wikiEditor.toolbar.styles.less"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue