Yoast / Yoast-SEO-for-TYPO3

Yoast SEO plugin for TYPO3
Other
51 stars 56 forks source link

Endless loading animation for empty `bodytext` within the field internal linking suggestions #536

Closed websi closed 1 year ago

websi commented 1 year ago

Please give us a description of what happened.

If the content bodytext is empty the field tx_yoastseo_linking_suggestions shows an endless loading animation. See https://github.com/Yoast/Yoast-SEO-for-TYPO3/blob/378cb2e09557c8adee7a46ad2740aed2651341fc/Resources/Public/JavaScript/plugin.js#L446

Please describe what you expected to happen and why.

The loading animation should be removed if the content is empty. Maybe the text for not enough text should be displayed.

image

How can we reproduce this behavior?

  1. Open an Text and Media Element without any text within bodytext

Screenshots

Logs

Additional context

I think it was introduced with 151f03ba6d1ef599ffa5295fdba35d2bfd270731

Technical info