     }
 }
 
+private var previousAdjustedContentInset = UIEdgeInsets.zero
 extension SectionEditorViewController: UIScrollViewDelegate {
     public func scrollViewDidChangeAdjustedContentInset(_ scrollView: UIScrollView) {
         let newAdjustedContentInset = scrollView.adjustedContentInset

        alertController.popoverPresentationController?.sourceView = keyboardBar.replaceSwitchButton
        alertController.popoverPresentationController?.sourceRect = keyboardBar.replaceSwitchButton.bounds
        
        present(alertController, animated: true)
    }
}


    private var needsSelectLastSelection: Bool = false
    
    @objc var editFunnel: EditFunnel?
    
    private var wikitext: String? {
        didSet {
