Selected text as HTML

How to get the selected text as HTML using connectors?

Hello @subbu

The category set to Connectors which represents the following list:
https://api.onlyoffice.com/docs/docs-api/get-started/ready-to-use-connectors/

Please clarify your request. What is usage scenario? Which product is used? Is it about document editor?

Hello @Constantine

Thanks for the reply,

I need to retrieve the selected text as HTML using the executeMethod connector, similar to ‘GetSelectedTextGetSelectedText

There is no direct method to get text as HTML, however, you can check out this sample plugin:
https://api.onlyoffice.com/docs/plugin-and-macros/tutorials/samples/get-and-paste-html/

Maybe you will find anything useful for your use case.