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
I have discovered that search for WYSIWYG fields is somewhat flawed. If you add some special character via the editor, it will be escaped in the actual html of the WYSIWYG.
When filtering you are not able to search for this value. Looks like the search treats the generated HTML as text
To Reproduce
Create a collection
Add a WYSIWYG field to it
Create a record.
In the WYSIWYG field, insert some value with a special character, say < 2 and save the record
Filter for records containing < 2 - no records will be returned
Filter for <p> < 2</p> - the record will be filtered
Directus Version
v10.10.1
Hosting Strategy
Self-Hosted (Docker Image)
Database
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
I have discovered that search for WYSIWYG fields is somewhat flawed. If you add some special character via the editor, it will be escaped in the actual html of the WYSIWYG.
When filtering you are not able to search for this value. Looks like the search treats the generated HTML as text
To Reproduce
< 2
and save the record< 2
- no records will be returned<p> < 2</p>
- the record will be filteredDirectus Version
v10.10.1
Hosting Strategy
Self-Hosted (Docker Image)
Database
No response
The text was updated successfully, but these errors were encountered: