Skip to content

Commit

Permalink
ref null reference fix (#1271)
Browse files Browse the repository at this point in the history
  • Loading branch information
OndrejUzovic authored Dec 6, 2023
1 parent 2e77525 commit fff4826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Radzen.Blazor/wwwroot/Radzen.Blazor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@ window.Radzen = {
},
queryCommands: function (ref) {
return {
html: ref.innerHTML,
html: ref != null ? ref.innerHTML : null,
fontName: document.queryCommandValue('fontName'),
fontSize: document.queryCommandValue('fontSize'),
formatBlock: document.queryCommandValue('formatBlock'),
Expand Down

0 comments on commit fff4826

Please sign in to comment.