Closed (fixed)
Project:
Drupal core
Version:
10.1.x-dev
Component:
editor.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 May 2020 at 10:09 UTC
Updated:
8 Aug 2023 at 14:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dishabhadra commentedThis patch should fix the issue.
Comment #3
dishabhadra commentedComment #4
sheldonreed3 commentedThe patch in #2 is working for me though I am concerned about the UX. The tip switches when the new format is selected while the modal is open. If cancelled, it reverts. This fixes the issue, but preventing the tip from switching before the change is accepted/canceled would be ideal.
Comment #5
priyanka.sahni commentedComment #6
priyanka.sahni commentedI have verified and test by applying the patch #2 , it looks good to me.Moving it to RTBC.
@sheldonreed3 As per #4 , i guess the tip should be there even if we from switching before the change is accepted/canceled.
Steps to test -
1. Go to the admin site.
2. Go to admin/config/content/formats.
3. Go to node/add/page.
4. In the body field , change the text format to Restricted Html to the Full html.
5. Again change from full html to Restricted Html.
6. Enter text in the body field.
7. Again change the text format to Restricted Html to the Full html.
8. Pop-up appears click cancel on it.
9. Verify the tips remain there under the body field.
Comment #7
priyanka.sahni commentedComment #8
catchComment #14
nikhil_110 commentedAttached patch against drupal 9.5.x
Comment #15
gauravvvv commentedI have attached a patch for 9.5 please review
Comment #16
smustgrave commentedWill also so need a 11.x patch.
As a bug will need a test case.
Comment #17
ranjith_kumar_k_u commentedAdded tests, please review
Comment #18
ranjith_kumar_k_u commentedComment #19
smustgrave commentedConfirmed the bug in the issue summary and that the patch fixes it.
Think a follow up should be opened though as when you change the formatter the tool tips go away when the modal is up. Think it shouldn't disappear at all. But this does make it better.
Comment #23
longwaveBackported to 10.1.x as a low risk bug fix.
Committed and pushed 44cc4df762 to 11.x and 5a47e6241d to 10.1.x. Thanks!
Comment #24
smustgrave commentedOpened https://www.drupal.org/project/drupal/issues/3376857