django-cms / djangocms-frontend

django CMS frontend is a plugin bundle for django CMS providing several components for the frontend, currently implemented with the popular Bootstrap 5 framework.
Other
42 stars 20 forks source link

Link / Button plugin - internal link gets preselected from 1.3.0 #206

Closed aacimov closed 2 months ago

aacimov commented 2 months ago

Describe the bug It happens on versions 1.3.0 and above, 1.2.2 works fine. When adding Link/Button plugin inside TextPlugin - Internal link preselects the first page from the page tree.

To Reproduce Steps to reproduce the behavior:

  1. Add some text in a TextPlugin
  2. Select it and add Link/Button plugin from CMSPlugins
  3. Internal link preselects first page from the tree

Expected behavior Internal link should not preselect anything since if you wish to add an e-mail link (through Link settings) it returns the error that 2 types cannot be selected.

Screenshots

Screenshot 2024-04-19 at 09 29 12

Desktop:

sebbschbo commented 1 month ago

Thx @fsbraun for your work!