Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Steps to Reproduce:
- Create a module that contains a longtext field that will be utilized by a WYSIWYG editor.
- Add a new content item that will utilize the above mentioned longtext field.
- Use the editor's media browser to insert a media item
- 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)
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2016-12-21 at 3.46.53 PM.png | 83.78 KB | jeremyrperry | |
Screen Shot 2016-12-21 at 3.46.29 PM.png | 636.38 KB | jeremyrperry |
Comments
Comment #2
jeremyrperry CreditAttribution: jeremyrperry commentedBug turned out to be unrelated to module code. Please disregard.