Do you want to: Report a bug
Can’t enter other content on the same line of the content control, I have to enter content on the new line
OS version: Win 11
App version: 8.3.2
Downloaded from: ONLYOFFICE website
Additional information:
Do you want to: Report a bug
Can’t enter other content on the same line of the content control, I have to enter content on the new line
OS version: Win 11
App version: 8.3.2
Downloaded from: ONLYOFFICE website
Additional information:
Hello @varorbc,
You are talking about plain text content control, right? Shift+Enter can be pressed to jump to the next line
I don’t want to jump to the next line, what I mean is that the content control and text are on the same line, and the current situation is that they are on two lines.
You mean that you’ve got some document with text and content control on the same line, but when you open this document in Onlyoffice Desktop Editor they get distributed across two lines?
Please provide the original document
What I mean is that after I insert some text into the onlyoffice desktop client and then insert the rich text content control, the content control will automatically jump to the next line, and insert other types of content controls, there is no problem of jumping to the next line
It happens because these are different types of content controls for different purposes, rich text content control is a block type content control: ApiBlockLvlSdt | ONLYOFFICE, not inline content control
But I can use the word desktop client to insert rich text into the line where the text is located so that they are on the same line, and then open it with the onlyoffice desktop client and then they are on the same line. However, if I’m in the Onlyoffice desktop client, I can’t put them on the same line.
Just ask, do you know Chinese? If so, I won’t continue to use Google Translate.
@DmitriiV 你理解我的意思了吗?
了解。请稍等,我们正在分析
我们已完成分析,结论如下:
在 Word 中,富文本内容控件实际上被当作纯文本内容控件处理,因此可以在同一行插入多个。而我们的编辑器逻辑不同 — 富文本内容控件被视为块级内容控件 (block content controls),而非内联控件 (inline content controls),因此无法将其插入在同一行。
我发现如果我在word中同一行插入文本和富文本内容控件,再用onlyoffice打开就能正常显示在同一行,但是反之就不行,这样的体验很无奈.
有没有办法做到与word一致的体验呢,像其他编辑器都是有着与word一致的体验,比如WPS,它也能在同一行输入文本和富文本内容控件的.
对于使用者来讲,在制作模板的时候可能就是需要在同一行插入文本和富文本内容控件.
这种行为无法实现一致,这是编辑器自身的特性,它的逻辑就是这样设计的
如果是这样的话,那为什么通过word在同一行插入文本和富文本内容控件后,再用onlyoffice打开却能在一行显示,那它的显示不应该也是两行吗,这与你的说法不就相违背了吗,
插入逻辑和显示逻辑是不同的。在打开文件时,会保留原始 Word 文件的格式
我觉得二者应该保持一致更合理,而不是可以显示而不能插入
在 Word 中,plain text content control和rich text content control实际上都属于inline content contol类型 。而在我们的编辑器中,富文本内容控件是段落级的容器 (不是inline content control类型),而plain text content control是嵌套在段落中的容器。因此,这种行为在我们的编辑器中无法实现
你讲的这些原理我都懂,如果这个是用户真实存在的需求,并且其他软件也这么再做,我觉得应该是想办法去解决,而不是一味的再解释概念。真的非常迫切官方能去解决这个问题,再次感谢。
我完全理解您的想法,感谢您的反馈