Closed (outdated)
Project:
Drupal core
Version:
8.9.x-dev
Component:
user interface text
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jan 2011 at 20:06 UTC
Updated:
8 Jul 2021 at 09:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
droplet commentedPlain text in Field (Text processing)
Plain text in Text format
There are different things in my mind and there has a bug : #1015510: Specify a default format for text fields (not long text)
Comment #2
montesq commentedSo we can consider this one as a duplication of #1015510: Specify a default format for text fields (not long text)
Comment #3
AndrzejG commentedPlease don't close this issue. It holds also for long text.
Here is my simple example.
I have enabled Video Filter to the plain text format, and also permitted such HTML tags as <object>, <embed>.
It is working OK when 'I set "Filtered text (user selects text format)" in the field settings of an textarea and select "plain text" while writing the content' (cite DocuAnt). Video is visible and displays OK.
However, when I set a long text field as plain text only, the filter doesn't work no matter how I set the display format. The Video Filter code [video:....] is displayed instead of video itself. The same is for 'object' or 'embed' codes.
It follows that "Plain text" option in the long text field setting doesn't work properly.
Comment #4
David Lesieur commentedThis is purely a naming issue.
Comment #5
David_Rothstein commented#1095838: Plain text format does not honour filter processing also has a lot of discussion and examples of people being confused by this usability problem.
Comment #6
BChandran commentedI have the same issue. Could someone explain how to set Plain Text format and have line break working? I want the user to input only plain text and the line break and para break should show as such. Thank you.
Comment #7
David_Rothstein commented@BChandran, if you're talking about the text format that can be done on the text format administration pages (admin/config/content/formats); if you're talking about the plain text option on text fields in the Field UI, there's a patch at #1152216: (Long) text field (textarea) with "Default" formatter does not retain newlines which would allow that and which needs review.
This issue is just about the UI confusion arising from the two things having the same name...
Comment #8
BChandran commented@David_Rothstein. Thank you for your reply but I am a newbie and couldn't figure out where and how to apply the patch. Please forgive my ignorance.
Comment #9
David_Rothstein commented@BChandran, check out http://drupal.org/patch and in particular the section on "applying patches" underneath it. Hope it helps!
Comment #10
BChandran commentedThank you. Trying to learn now.
Comment #19
pameeela commentedI think this is no longer relevant. I'm not sure what the situation was when this was filed but currently:
So I'm going to close this because I don't see any way to progress it. If someone feels this is still an issue, please feel free to re-open with an updated issue summary outlining what changes should be made.