diff --git a/src/App.vue b/src/App.vue index d3b69f8..d18723a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -236,7 +236,7 @@ const clearSelectedPages = () => { selectedPages.value = []; }; -// Content elements that can trigger ElementPopup +// Text elements that can trigger ElementPopup (excluding containers, images, etc.) const CONTENT_ELEMENTS = [ 'P', 'H1', @@ -245,34 +245,17 @@ const CONTENT_ELEMENTS = [ 'H4', 'H5', 'H6', - 'IMG', - 'FIGURE', - 'FIGCAPTION', - 'UL', - 'OL', - 'LI', 'BLOCKQUOTE', - 'PRE', - 'CODE', - 'TABLE', - 'THEAD', - 'TBODY', - 'TR', - 'TH', - 'TD', + 'LI', 'A', - 'SPAN', 'STRONG', 'EM', 'B', 'I', 'U', - 'ARTICLE', - 'SECTION', - 'ASIDE', - 'HEADER', - 'FOOTER', - 'NAV', + 'CODE', + 'PRE', + 'FIGCAPTION', ]; // Check if element is a content element (or find closest content parent)