Skip to content
This repository has been archived by the owner on Jun 15, 2021. It is now read-only.

Pasting inserts paragraph tags even in inline-mode #497

Open
danburzo opened this issue Aug 4, 2016 · 0 comments
Open

Pasting inserts paragraph tags even in inline-mode #497

danburzo opened this issue Aug 4, 2016 · 0 comments

Comments

@danburzo
Copy link
Contributor

danburzo commented Aug 4, 2016

This piece of code assumes we always want to insert <p> tags:

Scribe.prototype.insertPlainText = function (plainText) {
    this.insertHTML('<p>' + this._plainTextFormatterFactory.format(plainText) + '</p>');
 };

I can fix this in a PR, any preferred approaches here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant