anki/ts/editor
Henrik Giesel 610ef8f043
Save and restore location on ContentEditable (#1481)
* Add utility functions for saving and restoring the caret location

* Implement cross-browser.getSelection

* Save and restore location on ContentEditable

* Fix refocus by clicking on a field that had a non-collapsed selection
2021-11-09 12:53:39 +10:00
..
image-overlay fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
mathjax-overlay Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
AddonButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
AddTagBadge.svelte update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
AutocompleteItem.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
BUILD.bazel Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
change-timer.ts Add ChangeTimer.prototype.fireImmediately 2021-09-16 14:47:05 +02:00
ClozeButton.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
code-mirror.ts Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
CodeMirror.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
ColorButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
CommandIconButton.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
Components.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
CustomStyles.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
DecoratedElements.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
destroyable.ts Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
EditingArea.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
editor-base.scss Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
EditorField.svelte Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
EditorToolbar.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
Fields.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
FieldsEditor.svelte Svelte Editor hotfixes (#1436) 2021-10-19 08:38:06 +10:00
FieldState.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
FormatBlockButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
FormatInlineButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
HandleBackground.svelte Always correctly update MathjaxHandle position 2021-09-15 17:05:43 +02:00
HandleControl.svelte update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
HandleLabel.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
HandleSelection.svelte Always correctly update MathjaxHandle position 2021-09-15 17:05:43 +02:00
helpers.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
icons.ts Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
index_wrapper.ts Export editor globals under anki namespace 2021-07-06 03:48:33 +02:00
index.ts Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
LabelContainer.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
LabelDescription.svelte Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
LabelName.svelte Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
legacy.scss Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
NoteEditor.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
NoteTypeButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
Notification.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
OldEditorAdapter.svelte Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
PlainTextBadge.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
PlainTextInput.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
PreviewButton.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
RichTextBadge.svelte Highlight field badges when toggled to non-default state (#1466) 2021-10-31 07:48:37 +10:00
RichTextInput.svelte Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
RichTextStyles.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
SelectedTagBadge.svelte update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
SetContext.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
StickyBadge.svelte Several editor fixes (#1478) 2021-11-05 11:29:02 +10:00
StyleLink.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
StyleTag.svelte Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
Tag.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
TagDeleteBadge.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
TagEditMode.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
TagEditor.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
TagInput.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
TagOptionsBadge.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
tags.ts add basic tag completion to backend 2021-09-09 15:38:08 +02:00
TagWithTooltip.svelte Several CSS fixes - Editor Cleanup (#1470) 2021-10-31 08:29:22 +10:00
TemplateButtons.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
tsconfig.json Translate Editor entirely to Svelte (#1403) 2021-10-18 22:01:15 +10:00
WithAutocomplete.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00
WithColorHelper.svelte fix deprecation warning in latest svelte-preprocess 2021-10-26 08:43:02 +10:00