Limit fields that use enhanced-toolbar-link-dialog

Hi @gearsdigital, I am coming back to your enhanced-toolbar-link-dialog plugin after a while and love the changes you have made in v3.

I have a question for a particular project. I would love to use your plugin because it will give my “Admin” users the ability to link to any page on the site within a textarea/writer field.

I have “Editor” users that (within a different blueprint) should not be able to link to other pages. They should only be able to put in hardcoded urls.

In this way, I am looking for a solution to either:

  • Limit which fields use the enhanced-toolbar-link-dialog and which do not
  • Limit the enhanced-toolbar-link-dialog to only textarea fields

Not sure if either of these options had been contemplated at all?

Thanks a lot!