Skip to content
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

Spellcheck only changed part of document #5

Merged
merged 5 commits into from
Aug 9, 2016

Conversation

caffodian
Copy link

No description provided.

@caffodian
Copy link
Author

todo: make "root" vs. "element" consistently named.

@caffodian
Copy link
Author

Oddly a lot of this was almost hooked up, most of this was just to connect the early steps (how the spellcheck gets triggered) with what the current block element was, and to pass that along.

observer = observeSpellCheckEvents(editor);

resumeAfter(editor, 'spellCheckComplete', function () {
var secondParagraph = editor.editable().getChild(1);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this kinda sucks to read because you have to register this callback before you actually do the thing that triggers the events...hm

@caffodian caffodian merged commit df63574 into pstat_rewrite Aug 9, 2016
@caffodian caffodian deleted the spellcheck_only_changed branch August 9, 2016 19:48
@caffodian caffodian mentioned this pull request Sep 9, 2016
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant