egui_commonmark icon indicating copy to clipboard operation
egui_commonmark copied to clipboard

mark response as changed if show_mut mutates the text

Open nacl42 opened this issue 8 months ago • 1 comments

The show_mut function allows to toggle checkboxes while viewing the rendered markdown. Up to now, there is no indication if the function has changed anything.

This PR marks the response as changed, if any checkbox has been toggled.

In addition, it renames the response variable to inner_response to correspond to the actual type (InnerResponse).

nacl42 avatar Apr 10 '25 20:04 nacl42

Looks good. Just needs to be merged with main to solve CI.

lampsitter avatar Apr 11 '25 13:04 lampsitter

Thanks! Merged directly to master as it was the simplest.

lampsitter avatar Jul 09 '25 18:07 lampsitter