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.
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 nost-text-block
elements found,this.hasTextBlock()
would always return false. This wasn't necessarily true, so we needed to add ast-text-block
class to thetextarea
so that the appropriate html updating would happen in all the correct places.Fixes an issue reported in an email on 04.29.2019