mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-24 02:39:20 +00:00
Use the data-ve-target-container attribute to position VE
Uses the data attribute `data-ve-target-container` to determine where on the page to insert VisualEditor. Also moves the #siteSub back into the #bodyContent container. This makes the SiteSub match the font-size it had in legacy Vector & positions the VE toolbar between the tabs and the tagline. Bug: T310197 Bug: T310839 Depends-On: Idae6755c90eacaab1a9daa88c6e28850d427810c Change-Id: Idb2a743c93316786d6d36e1989cf6620a6092281
This commit is contained in:
parent
49c8b5f514
commit
97783e5bd8
|
@ -68,9 +68,8 @@
|
|||
{{>ArticleToolbar}}
|
||||
{{/is-title-above-tabs}}
|
||||
|
||||
{{>ContentSubheader}}
|
||||
|
||||
<div id="bodyContent" class="vector-body">
|
||||
<div id="bodyContent" class="vector-body" data-ve-target-container>
|
||||
{{>ContentSubheader}}
|
||||
<div id="contentSub"{{{html-user-language-attributes}}}>{{{html-subtitle}}}</div>
|
||||
<div id="contentSub2">{{{html-undelete-link}}}</div>
|
||||
{{{html-user-message}}}
|
||||
|
|
Loading…
Reference in a new issue