Disable TOC in edit mode

Bug: T307112
Change-Id: Ic7bf195972d3f5bfe781a15fc805d7ef1b56e496
This commit is contained in:
bwang 2022-04-28 14:48:09 -05:00 committed by Bernard Wang
parent b075c90f60
commit 1d46d78ced
2 changed files with 9 additions and 1 deletions

View file

@ -351,7 +351,8 @@
"mediawiki.special": "skinStyles/mediawiki.special.less",
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
"+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less",
"+ext.uls.interface": "skinStyles/ext.uls.interface.less"
"+ext.uls.interface": "skinStyles/ext.uls.interface.less",
"+ext.visualEditor.base": "skinStyles/ext.visualEditor.less"
},
"vector": {
"+ext.echo.styles.alert": "skinStyles/ext.echo.styles.alert.less",

View file

@ -0,0 +1,7 @@
.ve-activated {
// Temporarily disable TOC in edit mode until TOC works with both visual and source editors
// T294950
.sidebar-toc {
display: none;
}
}