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:
Jan Drewniak 2022-06-21 18:50:08 -04:00 committed by Jdlrobson
parent 49c8b5f514
commit 97783e5bd8
1 changed files with 2 additions and 3 deletions

View File

@ -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}}}