This callback can be run on individual comments to detect whether the comment can be edited based on its returned boolean.
For more information, see Configuration#isEditableComment
The comment.
Only allow the modification of comment from the same author.
NutrientViewer.load({ isEditableComment: function(comment) { return comment.creatorName === myCurrentUser.name; },}); Copy
NutrientViewer.load({ isEditableComment: function(comment) { return comment.creatorName === myCurrentUser.name; },});
This callback can be run on individual comments to detect whether the comment can be edited based on its returned boolean.
For more information, see Configuration#isEditableComment