tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.49k stars 995 forks source link

Paragraph in Chrome not working #516

Open mxgz opened 10 years ago

mxgz commented 10 years ago

It isn't possible to insert a paragraph in current Chrome (Version 37).

If you press the Enter-Key twice the cursor jumps to a new paragraph and then one line up, so you get a line-break but no paragraph.

In other current browsers this feature is working.

funktr0n commented 10 years ago

I can verify that this is indeed an issue in Chrome Browser v38.0.2125.104 as well. I'm not sure exactly what the cause is, as there don't seem to be any errors in the console, but I had recently noticed a warning message attributable to the Rangy library that might be worth investigating.

The warning reads... "'Range.detach' is now a no-op, as per DOM"

esbenp commented 10 years ago

Plus 1 on this as well.

funktr0n commented 10 years ago

For any/all others wishing to gain some insight on this issue, I actually discovered that this particular repository is no longer being maintained, and has moved to https://github.com/Edicy/wysihtml5

In the repository linked above, this issue has been resolved. Hope that helps!

dazbradbury commented 9 years ago

@FunkTron - Thanks, unfortunately it appears that repo isn't a drop-in replacement. It breaks other functionality currently used.

Any idea on the fix for this particular issue? I tried updating Rangy to no avail. The issue must lie elsewhere.