From 31040e05bc0d7c337800493e4cc72f44cf19de7d Mon Sep 17 00:00:00 2001 From: samueljd Date: Wed, 18 Jan 2023 12:26:29 +0530 Subject: [PATCH] fixed verse edit bleeding into verse number added blockable icons --- .../components/EditorPage/Scribex/Buttons.jsx | 36 +++++++++++++++---- .../src/components/hooks/scribex/htmlmap.js | 2 +- renderer/src/util/createVersificationUSFM.js | 2 +- 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/renderer/src/components/EditorPage/Scribex/Buttons.jsx b/renderer/src/components/EditorPage/Scribex/Buttons.jsx index 3bf70e65..d6d2873b 100644 --- a/renderer/src/components/EditorPage/Scribex/Buttons.jsx +++ b/renderer/src/components/EditorPage/Scribex/Buttons.jsx @@ -5,6 +5,11 @@ import { RectangleStackIcon, PencilIcon, ArrowDownOnSquareIcon, + Bars2Icon, + Bars4Icon, + ArrowUturnLeftIcon, + ArrowUturnRightIcon + } from '@heroicons/react/24/outline'; import { ArrowClockwise, ArrowCounterClockwise } from 'phosphor-react'; @@ -54,35 +59,54 @@ export default function Buttons(props) { )} aria-hidden="true" onClick={onSectionable} + title={sectionable ? "Expand all Chapters" : "Collapse Chapters"} />