Enable plugins while editing text nodes

Actually, all plugins are disabled while editing text. This way we can’t apply any changes to the selected text using code.
It would be very useful if we could modify text ranges properties through plugins.
Many thanks!