Remove Node Data Category

Is there a way to remove a node category completely? I have tried the following:

  1. This works but doesn’t update the model unless I refresh the page (I have tried adding node.updateTargetBindings() after it and it still doesn’t work):

  2. This changes the category to null but it still has the category property which breaks the model:

    m.set(, "category", null);

Also, I am committing the changes to the model.

Thanks in advance for any help.

Well, the default category is “”, the empty string, so you could set it to that.

Oh my goodness. So simple, thank you.