Validation rich text icon button

I have a requirement where I need to use a Rich Text icon button and perform validation of fields on it without submitting the form (Hence not able to use submit Link).

I can do this when using OOTB button with submit as false. But rich text icon buttons is primary requirement as user want UI more richer in terms of input buttons.

Is there any way to achieve this.

Thanks

  Discussion posts and replies are publicly visible