Hi developers,
I would like to add an action in the editor context menu which should only be enabled if text is selected in the editor.
Has anyone ever done something similar? How can the enabled state of an action be changed on text selection?
Thanks in advance for any hints.
Regards,
Laurent