وردپرس
[Possible Duplicate] Editing highlighted link adds additional link.
This may be a duplicate ticket as I believe the issue is being addressed internally here:
https://github.com/Yoast/wordpress-seo/issues/21052
To Reproduce Step-by-step reproduction instructions
- Install and activate Yoast SEO latest version and use a default WP theme
- Create a new post and add a link/anchor text to content in the post that has at least two words (e.g. Yoast SEO)
- Highlight (very specific step, don’t just click on the link) the anchor text, click on the pencil icon, and change the link url. Press enter to save the new link value.
- Inspect the newly edited link in the DOM and you’ll see a new link containing the last character of the original.
Expected results
- That the anchor text or link would still be in one single a element.
Actual results
- The links are split into two link elements. One link element has the update url, the other does not.
Screenshots, screen recording, code snippet
The html initially is like this:
This is the header text
and becomes (when editing the link and adding ‘-test’ the end)
This is the header tex
t
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس