Skip to content

copy & paste issue #1514

Open
Open
@Reloaded2

Description

Hi,

I have the following issue:

When I look at the source code, I want to allow all possible HTML attributes.

Example:

<article><div>foobar</div></article>

For this, I have the following settings in SunEditor:

addTagsWhitelist: "*",
pasteTagsWhitelist: "*",
addTagsWhitelist: "*"
attributesWhitelist: { "*": "*", },
strictMode: false,
strictHTMLValidation: false,

However, when using the copy & paste feature, only the text should be copied, without any inline styles.

For example, if I copy a text from Wikipedia, I don’t want to keep inline styles.

Is this possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions