on ‎2023 Apr 04 6:50 AM
Hello Team
I have a requirement where when someone press "Insert Link"/"Insert Image" button in editor, I need to validate the URL before it gets added into Editor. In other words, as soon as someone clicks on "OK" button, I have to read the URL input and validate it before it gets added into the editor. If the validation fails then I need to show some error.
I tried to capture the "link" plugin/command during runtime but it does not stop when the button is pressed. I tried with many other possible commands like "InsertLink", "mceLink", "InsertImage",etc,.
I have gone thru the TinyMCE documentation but could not find any exact event to achieve this functionality.

Could you please suggest if its possible to achieve this requirement & how to achieve it.
Thank you in advance.. 🙂
Request clarification before answering.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.