Closed (won't fix)
Project:
Display Suite
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
8 Apr 2013 at 11:54 UTC
Updated:
2 Jan 2014 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
old_toby commentedAnd here's the patch:
Comment #2
rodrigoaguileraI tested the generation of content with the display suite text filter activated and I didn't see much problem in the nodes with that filter.
If there's a ds code filter it shouldn't be disabled in the code.
I think that a option to select text filters for text fields must be given so users are aware of what text are generating.
Comment #3
salvisIt's odd that
filter_formats()would return a format that we're not supposed to use. If that's really how it should work, then we need a more general way for third-party modules to tell us about the unusual situation.(The patch does not follow the http://drupal.org/coding-standards.)
Comment #4
old_toby commentedThe problem is that the ds_code filter is not intended to use in nodes, just for the ds custom fields. It doesn't use any other filters like auto break tags. So if nodes are created with the ds_code text filter, it can break your layout.
I don't know if there are more modules with text filters which shouldn't be used for content. If it should be solved more generally, the settings page should probably have a list of format filters to exclude.
Comment #5
salvisI'm not sure how to proceed here. DS is breaking core by adding a filter format that cannot be used as a filter format. I tend to think that DS needs to fix this, maybe develop a core patch that lets them do what they need without breaking core assumptions, if that's what it takes.
Let's ask for their view on this.
Comment #6
aspilicious commentedD7 is to "old" to change this. I removed the filter in D8...