Do you want to request a feature or report a bug?
Bug
What is the current behavior?
The method InsertAndReplaceContentControls changes Inline content controls elements to Block content controls Elements.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Create an inline content control like this:
The inline content control will become a block level content control. I think it is due to this line of code: https://github.com/ONLYOFFICE/sdkjs/blob/19a9abb25e28698f8074bac80bc518820997e0fb/word/api.js#L589
#
What is the expected behavior?
The method should consider the ContentControl Type.
Which versions of sdkjs-plugins, and which browser / OS are affected by this issue? Did this work in previous versions of sdkjs-plugins?
v1, browser-independent, I don't know if it worked before
Do you want to request a feature or report a bug? Bug What is the current behavior? The method InsertAndReplaceContentControls changes Inline content controls elements to Block content controls Elements. If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Create an inline content control like this:
Replace the content of the inline content control:
The inline content control will become a block level content control. I think it is due to this line of code: https://github.com/ONLYOFFICE/sdkjs/blob/19a9abb25e28698f8074bac80bc518820997e0fb/word/api.js#L589 # What is the expected behavior? The method should consider the ContentControl Type. Which versions of sdkjs-plugins, and which browser / OS are affected by this issue? Did this work in previous versions of sdkjs-plugins? v1, browser-independent, I don't know if it worked before