3

In suggested edit the editor add code that wasn't exists before.

I search but I didn't find relevant reference to that.

I think it can be rejected or approved, but I don't think that's what should be done in edits.

1
  • 1
    It should be rejected. Drastic changes that attempts to add or modify large parts of the code, should be written as a new answer instead, not as an edit.
    – Maroun
    Commented Aug 6, 2017 at 13:32

1 Answer 1

5

If the code was provided by OP in a comment or an answer to his own question because he didn't realize he could edit, then approve the edit.

Otherwise, the edit might be masking the problem he had and it should be rejected.

This looks like a good rejection to me.

2
  • 3
    Yes, I see that it was taken from different answer. In that case I'll mark as causes harm "Taken from different answer"
    – Ori Marko
    Commented Aug 6, 2017 at 13:33
  • 4
    Even author of the edit knew that they adding completely new code based on their edit caption: "Added another option"... Consider rejecting with custom reason and adding comment "post new options as separate answer" for similar cases. Commented Aug 6, 2017 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .