You may want to consider using the visibility_api module for path/role/css selector visibility. This module is simply an abstracted API to centralize both php and js widget visibility.

Comments

Gurpartap Singh’s picture

Status: Active » Closed (won't fix)

Visibility API actually doesn't help in this case. I have rather set an option to let the user specify textarea IDs to attach widgeditor with.