supermemo / SuperMemoAssistant

A companion app for SuperMemo 17-18 which extends its functionalities through plugins.
https://www.supermemo.wiki/sma/
MIT License
195 stars 20 forks source link

Stack overflow exception when reading from HtmlComponent.Text.Value #233

Open bjsi opened 3 years ago

bjsi commented 3 years ago

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.

alexis- commented 3 years ago

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