#4786·summernote

由于隐藏的换行符,复制粘贴会在新行上添加文本

作者: JerishacatherinRB创建于 2026年1月27日更新于 2026年9月13日

Steps to reproduce

  1. Open the Summernote editor.
  2. Enter some text in the editor with line breaks.
  3. Select and copy the text.
  4. Paste the copied text at another position in the same editor.
  5. Observe that the pasted text appears on a new line.
  6. 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