由于隐藏的换行符,复制粘贴会在新行上添加文本
作者: JerishacatherinRB创建于 2026年1月27日更新于 2026年9月13日
Steps to reproduce
- Open the Summernote editor.
- Enter some text in the editor with line breaks.
- Select and copy the text.
- Paste the copied text at another position in the same editor.
- Observe that the pasted text appears on a new line.
- For example, here I copied Line 2 and pasted it near Line 2, but it added a line break and moved to the next line.
内容来源: summernote/summernote