Hello,
=> We have a solution that has multiple editors.
=> The editors have paste rules that are dynamic in nature, editors can be added dynamically as well.
=> We implemented a common custom paste cleanup callback.
=> In this method, we need the reference to the editor where the paste was done, so that we can read the properties of the editor and determine what to keep in the pasted content.
There does not seem to be a way to find out which editor triggered the pasteCleanup callback, the "this" variable has pasteCleanup settings and not the editor itself.
Is there a way to get a reference to the editor in question? We are using the focus/keydown events to keep track of active editors, however we might miss something somewhere, and would like the pasteCleanup callback itself to tell us what editor it has been called from.