I have a Field Collection which contains two fields (a text field and a long text field) embedded within another Field Collection. When adding content, the text area fields are extremely wide (see attached image - you can see by the scroll bar how far it extends to the left of screen).

The admin theme is Seven, but I have also tested with Adminimal Admin theme and it does the same thing. I am also using the CKEditor wysiwyg, but it does the same thing if you change to a plain text field.

CommentFileSizeAuthor
#1 ss.png200.86 KBjaydee1818
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jaydee1818’s picture

FileSize
200.86 KB
spidersilk’s picture

I'm having this issue too - like yours, it's with a long text field in a field collection, using CKeditor. Another long text field on the same content type, outside of the field collection, shows up as normal length, so it's definitely specific to field collections.

Were you ever able to find a solution, or does anyone else have any idea what might be making this happen and how it can be resolved?

jaydee1818’s picture

So for me, this is happening with both the Seven and Adminimal Admin themes. If I tell Drupal to use my default theme for creating/editing content (in my case it's a sub-theme of the Bootstrap theme), this problem does not exist. I guess that means that the problem doesn't exist on every theme, but other than that, I don't know what the cause or solution is and I am just putting up with the problem for the time being.

jaydee1818’s picture

Actually, I think I've kind of hack-fixed the problem. I've got a module called "Lexicon" installed and it adds an <li> to to the "Text Format" instructions. The text is really long and for some reason it just spills way out to the right and that is what was causing the UI to add a sideways scroll bar. The class is ".tips" and all I did was add some css to my theme that hides the offending <li>. Now all is good.