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

Переход курсора на следующий и предыдущий блоки при нажатии на кнопки вверх/вниз #32

Merged
merged 16 commits into from
Jun 10, 2016
Prev Previous commit
Next Next commit
fixed
  • Loading branch information
khaydarov committed Jun 5, 2016
commit b1f0598926b30fe53c834040cc657d229f00c319
5 changes: 5 additions & 0 deletions codex-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,12 @@ cEditor.ui = {

/** Any redactor changes: keyboard input, mouse cut/paste, drag-n-drop text */
cEditor.nodes.redactor.addEventListener('input', function (event) {

/** Saving caret in every modifications */
cEditor.content.saveCaretPosition();

cEditor.callback.redactorInputEvent(event);

}, false );

/** Bind click listeners on toolbar buttons */
Expand Down