Skip to content

Slot模式下,粘贴文本格式丢失 #1626

@TendernessCJS

Description

@TendernessCJS

const cleanedText = getCleanedText(text);

翻了下源码是因为在onPaste事件中调用 getCleanedText 把中间所有换行符都替换了,能问下具体是什么原因需要这个表现行为呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions