Merge commit '1375932c05' into stateful-events
This commit is contained in:
commit
634d4f1099
22 changed files with 627 additions and 519 deletions
|
|
@ -17,7 +17,7 @@ export default function CodeMirror({ value, onChange, options, editorDidMount }:
|
|||
return <CodeMirror2 value={value} options={options} onBeforeChange={onChange} editorDidMount={editorDidMount} />;
|
||||
}
|
||||
|
||||
export const markEvent = (editor) => (event) => {
|
||||
export const markEvent = (editor) => (time, event) => {
|
||||
const locs = event.context.locations;
|
||||
if (!locs || !editor) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue