-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quotes issues #7
Comments
Why? I get: |
I get “I said ‘This is nuts’“ <--final closing quote is backwards |
@jamienk autocorrect does not handle text across different text nodes at present. Text can be separated to a text node by formatting elements (for example, you make 'This is nuts' italic), or in some cases while editing (sometimes browser splits whole text into a sequence of small text nodes). |
I see what you're saying about the text node being split. How and why and when does this happen? I see it in Firebug. Why does CKEDITOR add line breaks in text nodes? (I understand that the line breaks are part of the HTML formatting and can be controlled, but why inside text nodes?) |
Yes, this is Firefox issue. Anyway, I need to write |
When I inspect the text node that I write it has line breaks in firebug so that the text inside the paragraph tags is broken into multiple lines. I can't see the line breaks get created because I have to hide and show the text in order for firebug to refresh the contents. |
Example, when inspected in Firebug:
Where is that whitespace coming from? Not seeing this in Chrome. Can't find anything on it. |
There is no line breaks. This is just a presentation of a sequence of text nodes. By the way, an element has a |
Hm, so when you wrote: "autocorrect does not handle text across different text nodes at present" << does that mean that if we first |
(and BTW, than you for this great work!) |
Yes. But I don't think this is good idea. Moreover, formatting element nodes ( You can try current master branch. It mostly done, but I did not tested yet. |
Thank you for testing and your bug reports! |
From my small set of test cases it works good! |
(this is also messed up when a quote comes after a dash,
but your dash handling forces a space, see #6)
The text was updated successfully, but these errors were encountered: