You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem
HTML anchors in the content of third-party add-ons gets mangled by the Grid's namespaceForGrid method. I've confirmed the data is correct leaving the add-on's grid_display_field() method. This happens in both Wygwam and Editor and is related to the same bug that was fixed in EE previously in non-grid fields (sorry, I don't have a reference to that issue/fix at the moment).
How To Reproduce
Steps to reproduce the behavior:
Create a third-party Wygwam or Editor add-on field inside a Grid field with:
<p>Test <aname="my_anchor">anchor</a> area</p>
Save the entry
Screenshots / Videos / Template Code
Environment Details:
Version: 5.2.2
PHP Version: 7.1
MySQL Version: 8.0.12
OS: macOS
Web Server: nginx
The text was updated successfully, but these errors were encountered:
In my case, I'm using Fluid fields and this bug has me adding just another text field to the fluid group that's just dedicated to anchors. Not the best approach, but it works for now until this is resolved.
As of to-be-released EE 6.1 (6.dev) I wasn't able to replicate this with RTE (using CKEditor or Redactor engines). However I confirm the issue exists in Wygwam (not checked Editor)
Which makes me think it's related to referenced add-ons - @obfuscode
Description of the problem
HTML anchors in the content of third-party add-ons gets mangled by the Grid's
namespaceForGrid
method. I've confirmed the data is correct leaving the add-on'sgrid_display_field()
method. This happens in both Wygwam and Editor and is related to the same bug that was fixed in EE previously in non-grid fields (sorry, I don't have a reference to that issue/fix at the moment).How To Reproduce
Steps to reproduce the behavior:
Screenshots / Videos / Template Code
Environment Details:
The text was updated successfully, but these errors were encountered: