fix: only show popup when clicking inside page template
Filter clicks to only trigger ElementPopup for elements inside .pagedjs_page, preventing popups from appearing when clicking on wrapper elements like .pagedjs_pages. Also adds lock/unlock SVG icons. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cf1dadb1b3
commit
ee849dab8e
4 changed files with 6 additions and 2 deletions
1
public/assets/svg/lock-line.svg
Normal file
1
public/assets/svg/lock-line.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 10H20C20.5523 10 21 10.4477 21 11V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V11C3 10.4477 3.44772 10 4 10H5V9C5 5.13401 8.13401 2 12 2C15.866 2 19 5.13401 19 9V10ZM5 12V20H19V12H5ZM11 14H13V18H11V14ZM17 10V9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9V10H17Z"></path></svg>
|
||||
|
After Width: | Height: | Size: 388 B |
Loading…
Add table
Add a link
Reference in a new issue