Remove Ace (#14299)

GitOrigin-RevId: ec8788fdbc8aea73ca33ec2810f4e588fe9476b5
This commit is contained in:
Alf Eaton
2023-11-29 09:04:08 +00:00
committed by Copybot
parent 4636f40f03
commit 9875e55a27
72 changed files with 59 additions and 7299 deletions
@@ -15,8 +15,7 @@ import getMeta from '../../../../utils/meta'
// If a toolbar row sits alongside the review panel, the review panel entries need to be shifted down by 32px.
// Once the review panel is always inside the editor, this offset can be removed.
const offsetTop =
getMeta('ol-showSourceToolbar') && !getMeta('ol-isReviewPanelReact') ? 32 : 0
const offsetTop = getMeta('ol-isReviewPanelReact') ? 0 : 32
// With less than this number of entries, don't bother culling to avoid
// little UI jumps when scrolling.