guardian / scribe

DEPRECATED: A rich text editor framework for the web platform
http://guardian.github.io/scribe/
Apache License 2.0
3.5k stars 245 forks source link

Do not insert `<br>` into custom elements #501

Closed nazar-pc closed 7 years ago

nazar-pc commented 7 years ago

I only found tests for formatter in test-old but don't know how to run them (they are not running with npm test) so no tests this time.

I've started using Scribe with Shadow DOM and custom elements, so expect more PRs in future if there will be any issues:)

nazar-pc commented 7 years ago

I don't have an example live or in public repository, but the project I'm working on will be 100% open source eventually (hopefully soon). Maintaining forks is pretty difficult from my experience, so I'm submitting upstream all of the patches needed so far to make Scribe compatible with custom elements (including Shadow DOM).