@@ -1756,6 +1728,83 @@ const PdfTextEditorView = ({ data }: PdfTextEditorViewProps) => {
}}
/>
)}
+ {selectionToolbarPosition && (
+
{
+ event.stopPropagation();
+ }}
+ onClick={(event) => {
+ event.stopPropagation();
+ }}
+ >
+ {canMergeSelection && (
+
+
+
+
+
+ )}
+ {canUngroupSelection && (
+
+
+
+
+
+ )}
+
+
+ )}
{orderedImages.map((image, imageIndex) => {
if (!image?.imageData) {
return null;