You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// eg:constexample_image_upload_handler=(blobInfo,progress)=>{if(myCondition){reject({message: 'Image format does not meet the requirements',remove: true,});}};tinymce.init({selector: 'textarea',// change this value according to your HTMLimages_upload_handler: example_image_upload_handler});
I hope to add a parameter named 'timeout'. The notification automatically closes after the value set in the timeout property elapses in milliseconds.
// eg:constexample_image_upload_handler=(blobInfo,progress)=>{if(myCondition){reject({message: 'Image format does not meet the requirements',remove: true,timeout: 5000,});}};
When parameter 'message' is set to false, I want to customize the notification instead of using the default one. I only need the 'remove' parameter.
now,use:
The text was updated successfully, but these errors were encountered: