CKEditor not displaying in latest 8.0.x-dev version After updating Drupal from version 8.0.0-beta7 to version 8.0.x-dev — to fix text_format fields not submitting their value due to a missing name attribute —, my field is now displaying as a basic input field with the format bar under it.

Here's the code that defines the content field of my entity (inside the baseFieldDefinitions method):

$fields['content'] = BaseFieldDefinition::create('text')
  -&gt;setLabel(t('Content'))
  -&gt;setDescription(t('The content of the block'))
  -&gt;setSettings(array(
    'max_length'  =&gt; 1024
  ))
  -&gt;setDisplayOptions('form', array(
    'type'   =&gt; 'text_format',
    'weight' =&gt; -6
  ))
  -&gt;setRequired(TRUE)
  -&gt;setDisplayConfigurable('form', TRUE);


As said above, this code works fine on the latest beta but breaks on the latest version from GitHub.

Expected result (8.0.0-beta7):



Obtained result (8.0.x-dev):



I had submitted a bug report, thinking this was a bug, but apparently it isn't. I was told I need to use a textarea for the editor to show up. The thing is... text_format defaults to a textarea.

I'm guessing there's something I'm not doing right here, but after hours of searching, I just can't seem to understand what. I've tried changing the type passed to BaseFieldDefinition::create() to string_long, too, but then I just get a textarea with no format.
Here is the correct code to create a WYSIWYG field:

$fields['title'] = BaseFieldDefinition::create('text_long')
  -&gt;setLabel(t('Content'))
  -&gt;setDescription(t('The content of the block'))
  -&gt;setDisplayOptions('form', [
      'type' =&gt; 'text_textarea',
    ])
  -&gt;setDisplayOptions('view', [
      'type' =&gt; 'text_default',
    ])
  -&gt;setDisplayConfigurable('form', TRUE)
  -&gt;setDisplayConfigurable('view', TRUE);