Steps to Reproduce:

  1. Create a module that contains a longtext field that will be utilized by a WYSIWYG editor.
  2. Add a new content item that will utilize the above mentioned longtext field.
  3. Use the editor's media browser to insert a media item
  4. Save the content, and navigate to the content page.

Expected Result:

The media item is properly rendered on the content page.

Actual Result:

There is a JSON token item that shows up instead.

Screenshots are below. This does not occur when a content field is created using Drupal's UI (e.g. admin/structure/types/manage/content-type/fields)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jeremyrperry created an issue.

jeremyrperry’s picture

Bug turned out to be unrelated to module code. Please disregard.