rorvswild icon indicating copy to clipboard operation
rorvswild copied to clipboard

Cannot disable rorviswild for a given route/action

Open leewaa opened this issue 6 months ago • 1 comments

I have a conflict with swagger documentation that I have built into my Rails app. rorvswild overrides styles which prevent highlighting selected text within json bodies of swagger ui.

I tried using ignore_requests for the specific controller and action however this does not seem to do anything. I ensured that I configured it correctly.

e.g.

development:
  ignore_requests:
    - Admin::ApiDocsController#file
    - Admin::ApiDocsController#index

However the widget still appears and it loads all related assets into the DOM. Is this an error on my part or is something lacking hear?

I would like to completely disable rorvswild for a specific route so that nothing at all is added to the dom.

leewaa avatar Aug 23 '24 10:08 leewaa