// Insert above the To/Subject fields using InboxSDK's insertHTMLBefore method
// This is a workaround: InboxSDK does not provide a direct API, but we can use the DOM
// to insert our bar before the fields container
const el = composeView.getElement();
el.querySelector('form').parentElement.insertBefore(myCustomDIV, el.querySelector('form'));
< /code>
Это вставляет мой пользовательский Div над полями получателя в окне Gmail Compose.
Его высота может быть 39px или 83px. < /p>
Он работает нормально, когда в нормальном режиме. Но если вы выберете режим полного экрана для окна Gmail Compose, нижняя часть окна Compose (где кнопка «Отправка») отрезает. Режим Window of Compose - обратите внимание на строку кнопки «Отправка», как следует, как следует "src =" https://i.sstatic.net/e8qpp56v.png "/>
Подробнее здесь: https://stackoverflow.com/questions/797 ... eight-when
Мобильная версия