Create and remove links
This example selects the same phrase before calling createLink or unlink so the result is
directly visible in the HTML output.
Selectable target: Summernote Next examples
HTML output
Ready.
Example configuration - Links
summernote.create('#insertion-links-editor', {
height: 220,
});
summernote.invoke('#insertion-links-editor', 'createLink', {
text: 'Summernote Next examples',
url: 'https://juergen-schwind.com/summernote-next',
isNewWindow: true,
});
summernote.invoke('#insertion-links-editor', 'unlink');