strapi-plugin-react-editorjs icon indicating copy to clipboard operation
strapi-plugin-react-editorjs copied to clipboard

Disabling built-in inline tools (link)

Open Grendaizo90 opened this issue 3 years ago • 3 comments

Hello! I was trying to extend LinkTool, and found nice custom link tool (Hyperlink) How can i remove the built-in inline LinkTool and use only Hyperlink? Instructions described here and here are not working for me.

Here's my actual behavior. Hyperlink duplicates LinkTool Снимок экрана 2022-12-12 в 15 27 52

UPD

LinkTool is not an inline tool, the inline tool i needed to disable was link

Grendaizo90 avatar Dec 12 '22 18:12 Grendaizo90

need it too!

kolyabazlov avatar Dec 20 '22 08:12 kolyabazlov

i found a workaround: just set link as an empty object in customTools.js

link: function () {},

kolyabazlov avatar Dec 21 '22 07:12 kolyabazlov

i found a workaround: just set link as an empty object in customTools.js

link: function () {},

thanks a lot, it worked for me! Was very helpful!

Grendaizo90 avatar Dec 21 '22 07:12 Grendaizo90