sul-dlss / vatican_exhibits

Vatican installation of Spotlight
https://spotlight.vatlib.it
Other
0 stars 1 forks source link

Fixes an issue where the MiradorBlock was unable to render on edit page #400

Closed mejackreed closed 5 years ago

mejackreed commented 5 years ago

The upstream change here: https://github.com/projectblacklight/spotlight/pull/2161 changed the logic a bit about when and how this.setTextBlockHTML might be called. Since there were no st-text-block elements found, this.hasTextBlock() would always return false. This wasn't necessarily true, so we needed to add a st-text-block class to the textarea so that the appropriate html updating would happen in all the correct places.

Fixes an issue reported in an email on 04.29.2019