tinymce-angular icon indicating copy to clipboard operation
tinymce-angular copied to clipboard

OnChange and onFocusOut event

Open kylianleem opened this issue 2 years ago • 1 comments

What is the current behavior? When I have [inline]="true" and use the onChange() function or onFocusOut() function I expect them to be fired totally at the end of editting text.

But when I change the "font family" or "font size" or changing "heading", actually all events with a dropdown are fired already before really finishing editing. Because of two way binding which is emited back to my component it closes the inline edit toolbar automatically for me so I need a function totally at the end of editting.

Am I using the wrong functions, that there is another function that is called totally at the end of editting, or is this a bug?

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar. https://codesandbox.io/s/tinymce-angular-forked-7nv6zm

What is the expected behavior? A function that is called at the end when the toolbar is closed and not when in editting mode still.

Which versions of TinyMCE/TinyMCE-Angular, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or TinyMCE-Angular? Using chrome and TinyMCE-Angular ^7.0.0

kylianleem avatar Aug 02 '23 11:08 kylianleem

Ref: INT-3213

exalate-issue-sync[bot] avatar Aug 02 '23 11:08 exalate-issue-sync[bot]

The blur event I think is what you're looking for, see: https://codesandbox.io/p/sandbox/new-tree-p8jm6d

Let us know if you need any further help.

danoaky-tiny avatar Jun 20 '24 21:06 danoaky-tiny