Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
emir89 committed Nov 27, 2024
1 parent 47a6122 commit 233a7fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- basic Storybook example for `<Application* />` components
- `$eccgui-selector-text-spot-highlight` config variable to specify selector that is used to create shortly highlighted spots
- it is highlighted when the selector is also active local anchor target or if it has the `.eccgui-typography--spothighlight` class attached to it
- `<CodeEditor />`
- implemented support for linting which is enabled via `useLinting` prop
- `turtle` and `javascript` are currently supported languages for linting
- editor is focused on load if `autoFocus` prop is set to `true`

### Changed

Expand Down
2 changes: 1 addition & 1 deletion src/extensions/codemirror/CodeMirror.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export const CodeEditor = ({
}

return values;
}, [useLinting, mode]);
}, [mode]);

const onKeyDownHandler = (event: KeyboardEvent, view: EditorView) => {
if (onKeyDown && !onKeyDown(event)) {
Expand Down

0 comments on commit 233a7fb

Please sign in to comment.