onImageLinkInsert property

void Function(String?)? onImageLinkInsert
getter/setter pair

Called whenever an image is inserted via a link. The function passes the URL of the image inserted into the editor.

Note: Setting this function overrides the default summernote image via URL insertion handler! This means you must manually insert the image using controller.insertNetworkImage in your callback function, otherwise nothing will be inserted into the editor!

Implementation

void Function(String?)? onImageLinkInsert;