serdarciplak / BlazorMonaco

Blazor component for Microsoft's Monaco Editor which powers Visual Studio Code.
https://serdarciplak.github.io/BlazorMonaco/
MIT License
432 stars 98 forks source link

Null check on diff editor model before setting #103

Closed j-schwar closed 5 months ago

j-schwar commented 11 months ago

Prevents a JS exception thrown when reusing a diff editor whose previous text models were disposed.

Fixes #102

serdarciplak commented 5 months ago

Added this in #120 with other small fixes. It will be released in BlazorMonaco v3.2.0