- Issue created by @dll416
- Status changed to Closed: outdated
9 months ago 6:47pm 4 April 2024
I noticed that I could not open up the media library to change an image in edit screen of my node and that the type face in the lower half of the screen was the wrong typeface - it was using monospace. I looked in the inspector and saw many errors that looked like drupal.js wasn't loading. I noticed the script tag was wrapped in <code> tags. I then tracked down the line "You can embed media items (using the <drupal-media> tag)." and in the inspector there is a typo causing a <code> tag to never close and so it just replicates through the rest of the page and breaks functionality. The typo in the inspector is:
<li class="filter-tips__item filter-tips__item--short">You can resize media images by adding the <code>data-media-width</code> attribute on <code><drupal-media></drupal-media></code> tags, for example: <code><drupal-media data-media-width="50%" <="" code="">.</drupal-media></code></li>
(screenshot included)
Also noted that the Save button in the formatted text field settings screen is showing the monospace - leading me to believe the typo is affecting that form too.
Add a Text (formatted) field to a content type. Allow full text format.
Currently you can temporarily fix the issue if you do not allow full text format.
Fix the typo - I am not sure where this is located to fix.
Closed: outdated
10.2 ✨