magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.36k stars 9.28k forks source link

wysiwyg hyperlink issue #38519

Open ViktorHavaleshko opened 3 months ago

ViktorHavaleshko commented 3 months ago

Preconditions and environment

Steps to reproduce

  1. Go to the admin panel and try to create a CMS page or block: Знімок екрана 2024-03-13 о 19 34 51
  2. Add some text and click on the "Insert/Edit Link", and add it hyperlink with base url of website using - "{{config path="web/secure/base_url"}}" Знімок екрана 2024-03-13 о 19 35 11
  3. Save and try to edit hyperlink. We still see "{{config path="web/secure/base_url"}}". Знімок екрана 2024-03-13 о 19 35 25
  4. Save a block or update the page and we will see the admin URL instead of "{{config path="web/secure/base_url"}}". Знімок екрана 2024-03-13 о 19 35 44

if there is a lot of content it is very difficult to replace anything if we have this bug.

Expected result

when editing a block, CMS page or anything that uses the WYSIWYG editor, I want to see the initial link "{{config path="web/secure/base_url"}}test.html" instead of the flow admin URL

Знімок екрана 2024-03-13 о 19 44 45

Actual result

when saving, refreshing a page or clicking on Show / Hide Editor, instead of {{config path="web/secure/base_url"}} we will get the current admin link

Знімок екрана 2024-03-13 о 19 44 22

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 3 months ago

Hi @ViktorHavaleshko. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 3 months ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

m2-assistant[bot] commented 3 months ago

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:


engcom-Dash commented 3 months ago

Hi @ViktorHavaleshko

Thanks for reporting and collaboration.

Verified the issue in magento 2.4 dev instance and the issue is reproducable. Hence, confirming the issue.

when saving, refreshing a page or clicking on Show / Hide Editor, instead of {{config path="web/secure/base_url"}} we are getting the current admin link

Please refer the attached screen recording.

https://github.com/magento/magento2/assets/60198592/3be48c0e-169e-477b-92c5-35a68d4f7f41

github-jira-sync-bot commented 3 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-11600 is successfully created for this GitHub issue.

m2-assistant[bot] commented 3 months ago

:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.