Skip to content

Clipboard text styling is not stripped propely when pasting from other editor #45

@antoKeinanen

Description

@antoKeinanen

When pasting text with styling to the document the text styling is not removed. This will lead to the line not saving correctly and possibly the wole line breaking.

The pasted data will not be added to window.internal.ui.editor.getContent() and thus will not be saved correctly.

Steps to reproduce

  1. Open rich text editor like google docs
  2. Enter some text with styling like font size or colour.
  3. Copy and paste it to the editor.

image
v3 matikkaeditori fi_

Metadata

Metadata

Labels

bugSomething isn't workingeditor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions