supermemo/SuperMemoAssistant

Stack overflow exception when reading from HtmlComponent.Text.Value

bjsi opened this issue · 1 comments

bjsi commented

Description, Steps to Reproduce

I was creating a plugin to preview the content of an element by hovering over a link created using the Html Component context menu > insert HTML link > element.

I was getting the content of the element by getting the first html component (not control) from the element's component group and accessing the content like: component.Text.Value

This functions correctly until the Html Control is edited. After the control is edited, when you hover over the link, you get a stack overflow exception.

ezgif com-video-to-gif

I'll message you the video on discord, the quality of the gif is quite poor.

I can't read the video, the text is too small. Could you upload the stracktrace ?