Closed iit2011081 closed 6 years ago
Hi @iit2011081 - the likely cause is that either the editor is being initialized multiple times on page load or the saved event handler is being applied multiple times - e.g once per field.
I don't know angular at all so I can't suggest why this might be happening I'm afraid.
May be because of directive it is getting initialized mutiple times.
I am trying to use contenttool in angular so I have written one directive. On a page there any multiple editable fields, when I save any field my function gets called multiple times. Suppose I have 5 fields when I save any field then my save function gets called 5 times. This is the code which I have written.