I noticed in alpha 9 (also carried over to alpha 10) that hitting Enter on the keyboard (Carriage Return) doesn't do anything...

I can type all day long, but it just doesn't do anything on enter. I've tested on both Firefox and Chrome as well as an existing site and a fairly new sandbox site with the same results across the board. If this is a duplicate issue, the existing issue title's don't seem to reflect this issue, so sorry in advance for the dup.

Comments

philsward’s picture

I forgot to mention I'm using the bone stock textarea editor. (No CKEditor)

wim leers’s picture

Title: Simple Text Editor Doesn't Accept "Enter" (Carriage Return) » "direct" in-place editor doesn't allow return/enter to prevent newlines; this is not always desirable
Assigned: Unassigned » wim leers
Issue tags: +sprint, +Spark

This was originally done on purpose, to prevent newlines in titles.

It should be smarter indeed.

philsward’s picture

Cool, you already know about it :-) Just making sure I wasn't going crazy :-p

wim leers’s picture

Nope :) Sorry for the confusion :)

Out of curiosity: what kind of field are you using this for? A simple textual field without text formats, presumably?

philsward’s picture

Yeah, I don't have ckeditor installed... Just using whatever the plain/simple textarea that comes bone stock with D7. I hate ckeditor... It always want's to append 50 million other tags or options to everything it touches... So annoying. I'm hoping the baked in D8 version takes care of those issues :-)

wim leers’s picture

#5: Well, you can't use the plain text editor for something that is not plain text (i.e. any text that uses Drupal's text formats). And yes, I personally guarantee you that CKEditor is already much better in that regard and that it will approach perfection in that area when Drupal 8 ships ;) :)

philsward’s picture

whoops! it was late when I replied to your comment... looking at your question again now that I am a bit rested, yes it's just a stock "body" textarea field using the "full html" filter.

Kazanir’s picture

I don't understand comment #6. What's wrong with using a standard text field for a text body field that uses Drupal's "plain text" format -- i.e. the one that converts newline characters to HTML and does nothing else? How hard would it be to differentiate Enter-key recognition based on the textfield attached to the field in question (i.e. multiline or not?)

wim leers’s picture

Issue tags: -sprint

.

wim leers’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Closed (cannot reproduce)
wim leers’s picture

Category: Bug report » Support request
Issue summary: View changes
Status: Active » Closed (cannot reproduce)