Page 1 of 1

[SOLVED]Removed Unlink Feature from Summernote Editor at 3.0.3.6 ?

Posted: Fri Nov 13, 2020 1:42 am
by iplocker
Hello.
Can you please tell me if someone know if the unlink feature at the Summernote editor Opencart 3.0.3.6 remove the option to unlink a link with just click on the link get the pop up box and just click on the unlink button ? http://prntscr.com/vi5fzz
Thanks

Re: Removed Unlink Feature from Summernote Editor at 3.0.3.6 ?

Posted: Fri Nov 13, 2020 2:33 am
by sw!tch
It was removed, but you should be able to easily add the feature back in.

admin/view/javascript/summernote/opencart.js

Find:

Code: Select all

popover: {
add After

Code: Select all

link: [
    ['link', ['linkDialogShow', 'unlink']]
],
Untested, but should work according to the summernote docs.

Re: Removed Unlink Feature from Summernote Editor at 3.0.3.6 ?

Posted: Fri Nov 13, 2020 3:36 am
by iplocker
Thanks it worked !
You are awesome ! :)